dsdb: Add random values to names in tests for large LDAP responses
authorAndrew Bartlett <abartlet@samba.org>
Mon, 13 May 2019 03:32:23 +0000 (15:32 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 20 May 2019 04:01:10 +0000 (04:01 +0000)
commit46677b8e1effe4a1eab4ac69fb0213bf72c7cf42
treeb15114a790712240c2100cefa498b6418b92bd5c
parent594676c8b8f9138c013871a5da01fca67e1aa282
dsdb: Add random values to names in tests for large LDAP responses

This test is run agianst multiple DCs in the same domain, so there can
be a race with replication.  Therefore avoid using the same name twice
by adding a random suffix.

This is an improvement to a demonstrator for this bug in TDB:
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13952

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
source4/dsdb/tests/python/large_ldap.py