summaryrefslogtreecommitdiffstats
path: root/source4/torture
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2010-06-28 04:27:27 +0300
committerKamen Mazdrashki <kamenim@samba.org>2010-06-28 04:43:28 +0300
commit46556432c067bfd651e79ecd370ff3d18ae83bd7 (patch)
tree03e2a2ed0e5b10a6eacc8a9dfe2d9ca780a394b7 /source4/torture
parent6f6365daba99c03788fc33a226467964825578db (diff)
downloadsamba-46556432c067bfd651e79ecd370ff3d18ae83bd7.tar.gz
samba-46556432c067bfd651e79ecd370ff3d18ae83bd7.tar.xz
samba-46556432c067bfd651e79ecd370ff3d18ae83bd7.zip
s4/drs-test: Add few comments in DrsDeleteObjectTestCase test
Also remove unused code
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/drs/python/delete_object.py13
1 files changed, 10 insertions, 3 deletions
diff --git a/source4/torture/drs/python/delete_object.py b/source4/torture/drs/python/delete_object.py
index 29c7565c7f3..ee17c914f2a 100644
--- a/source4/torture/drs/python/delete_object.py
+++ b/source4/torture/drs/python/delete_object.py
@@ -82,9 +82,6 @@ class DrsDeleteObjectTestCase(samba.tests.TestCase):
self.dnsname_dc2 = self.info_dc2["dnsHostName"][0]
pass
- def test_noop(self):
- pass
-
def tearDown(self):
super(DrsDeleteObjectTestCase, self).tearDown()
@@ -146,6 +143,9 @@ class DrsDeleteObjectTestCase(samba.tests.TestCase):
def test_NetReplicateCmd(self):
+ """Triggers replication from DC1 to DC2
+ and vice versa so both DCs are synchronized
+ before test_ReplicateDeteleteObject test"""
# replicate Domain NC on DC2 from DC1
self._net_drs_replicate(DC=self.dc2, fromDC=self.dc1)
# replicate Domain NC on DC1 from DC2
@@ -153,6 +153,13 @@ class DrsDeleteObjectTestCase(samba.tests.TestCase):
pass
def test_ReplicateDeteleteObject(self):
+ """Verifies how a deleted-object is replicated between two DCs.
+ This test should verify that:
+ - deleted-object is replicated properly
+ TODO: We should verify that after replication,
+ object's state to conform to a deleted-object state
+ or tombstone -object, depending on DC's features
+ It will also be great if check replPropertyMetaData."""
# work-out unique username to test with
username = self._make_username()