selftest: Add test for a re-animated object conflict
authorTim Beale <timbeale@catalyst.net.nz>
Wed, 20 Sep 2017 05:29:46 +0000 (17:29 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 26 Sep 2017 03:33:17 +0000 (05:33 +0200)
commit5f93ac1f6f74f6960708dd7f58b9b95073df517d
treec099aab76b9fb72087a7151b85d124a9314d01c8
parentd278f5ea9959b6ec6892f4b0c13a7dd3933ff364
selftest: Add test for a re-animated object conflict

Added a test to simulate a user accidentally being deleted and 2
different admins trying to resolve the problem simultaneously - one by
re-animating the object and one by just creating a new object with
the same name.

Currently this test fails on Samba because it chooses the higher
version
number as the winner instead of the latest change.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13039

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
selftest/knownfail.d/replica_sync
source4/torture/drs/python/replica_sync.py