samba.tests.dsdb is not idempotent
Lumir Balhar
lbalhar at redhat.com
Thu Nov 9 07:35:33 UTC 2017
Hello.
When the test
samba.tests.dsdb.DsdbTests.test_set_attribute_replmetadata_version is
run two times in the same test run, it fails. This is a problem for
Python3 porting, where the tests need to be run for both versions of the
interpreter in the same run.
The trouble is that I'm lost as to what the test actually does -- I'm
not familiar with terms like "sequence number" or "USN", and the code
calls a maze of functionality deep inside Samba/LDB.
Could I ask you to look at the issue and provide a pointer into what's
wrong here?
I'm attaching a reproducer (run with `make test TESTS=tests.dsdb`).
Thank you and have a nice day.
LumÃr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Run-tests.dsdb-for-the-second-time-to-reproduce-prob.patch
Type: text/x-patch
Size: 1173 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20171109/d56de499/0001-Run-tests.dsdb-for-the-second-time-to-reproduce-prob.bin>
More information about the samba-technical
mailing list