Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-02-27 | s4/drs-test: Remove unused imports | Kamen Mazdrashki | 3 | -25/+0 | |
2011-02-27 | s4/drs-test: remove netReplicateCmd test from 'deleted object' test case | Kamen Mazdrashki | 1 | -10/+4 | |
DCs synchronization is moved to the test case setUp method as there is no guarantee for the order of execution of tests in a test case - thus netReplicateCmd may be executed after ReplicateDeleteOjbect test | |||||
2011-02-27 | s4/drs-tests: Disable replication during 'deleted object' test | Kamen Mazdrashki | 1 | -17/+10 | |
This allows us to remove the patch that prevents the test failure. Also pass 'forced' flag to samba-tool drs replicate command, otherwise DsReplicaSync will fail with 'replication not permitted' error | |||||
2011-02-27 | s4/drs-tests: Move enable/disable replication methods to DrsBase class so we ↵ | Kamen Mazdrashki | 2 | -12/+11 | |
can re-use them | |||||
2011-02-20 | s4/drs-tests:Blackbox test to verify DsReplicaSync handling | Kamen Mazdrashki | 1 | -0/+91 | |
DsReplicaSync is indirectly called using 'samba-tool drs options' command to enable/disable replication and 'samba-tool drs replicate' command to trigger inbound replication cycle Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Sun Feb 20 23:03:03 CET 2011 on sn-devel-104 | |||||
2011-02-20 | s4/drs-tests: Allow _net_drs_replicate to force replication and return ↵ | Kamen Mazdrashki | 1 | -2/+4 | |
output from command execution | |||||
2011-02-20 | s4/drs-tests: Split samba-tool command line generation into separate method | Kamen Mazdrashki | 1 | -7/+12 | |
so we can use to exec samba-tool passing different commands | |||||
2011-02-20 | s4/drs-tests: Inherit DrsReplSchemaTestCase from DrsBaseTestCase | Kamen Mazdrashki | 1 | -45/+2 | |
and remove duplicated functionality | |||||
2011-02-20 | s4/drs-tests: Inherit DrsFsmoTestCase from DrsBaseTestCase | Kamen Mazdrashki | 1 | -35/+2 | |
and remove duplicated functionality | |||||
2011-02-20 | s4/drs-tests: Inherit DrsDeleteObjectTestCase from DrsBaseTestCase | Kamen Mazdrashki | 1 | -44/+2 | |
and remove duplicated functionality | |||||
2011-02-20 | s4/drs-tests: Add a base class to hold common functionality for all DRS ↵ | Kamen Mazdrashki | 1 | -0/+104 | |
python tests | |||||
2011-02-02 | s4-python Ensure we add the Samba python path first. | Andrew Bartlett | 3 | -3/+3 | |
This exact form of the construction is important, and we match on it in the installation scripts. Andrew Bartlett | |||||
2011-01-25 | s4-test/delete_object: Remove global ldb connections | Kamen Mazdrashki | 1 | -26/+7 | |
Make it more xUnit compliant Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Tue Jan 25 21:30:19 CET 2011 on sn-devel-104 | |||||
2011-01-03 | remove unnecessary use of pass. | Jelmer Vernooij | 1 | -8/+0 | |
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Jan 3 08:21:12 CET 2011 on sn-devel-104 | |||||
2011-01-03 | Use TestCase.get_credentials() where possible. | Jelmer Vernooij | 3 | -3/+3 | |
2010-12-15 | s4-test/repl_schema: remove unused and commented out code | Kamen Mazdrashki | 1 | -3/+0 | |
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed Dec 15 01:37:10 CET 2010 on sn-devel-104 | |||||
2010-12-15 | s4-test/repl_schema: Make sure every object is with unique name | Kamen Mazdrashki | 1 | -2/+5 | |
This way, test writer don't have to be careful to choose unique objects suffix | |||||
2010-12-15 | s4-test/repl_schema: use 'top' as default base class for our test ↵ | Kamen Mazdrashki | 1 | -1/+1 | |
classSchema objects Otherwise we will end up passing whole inheritance chain every time we create some new fancy classSchema object (as the 'cls-A' and 'cls-B' ones in test_classWithCustomAttribute test) | |||||
2010-12-15 | s4-test/repl_schema: New test to test a classSchema with custom attribute | Kamen Mazdrashki | 1 | -0/+24 | |
Create new Attribute and a Class, that has value for newly created attribute. This should check code path that searches for AttributeID_id in Schema cacheThis test. It also tests how we replicate a leaf classSchema that inherits from a new classSchema with attribute added - tests both dsdb_attribute_drsuapi_to_ldb() and _dsdb_syntax_OID_obj_drsuapi_to_ldb() syntax handler | |||||
2010-12-02 | s4-test/repl_schema: Test class inheritance through subClassOf | Kamen Mazdrashki | 1 | -1/+26 | |
2010-12-02 | s4-test/fsmo: Remove unused imports | Kamen Mazdrashki | 1 | -2/+0 | |
2010-12-02 | s4-test/delete_object: Remove unused imports | Kamen Mazdrashki | 1 | -3/+4 | |
2010-12-02 | s4-test/repl_schema: Make ERR_NO_SUCH_OBJECT visible to us | Kamen Mazdrashki | 1 | -0/+1 | |
We've lost this import somehow, now it is back in :) | |||||
2010-12-02 | s4-test/repl_schema: Test classSchema and attributeSchema replication in ↵ | Kamen Mazdrashki | 1 | -0/+18 | |
separate tests | |||||
2010-12-01 | s4-test/schema: Extend the test to replicate a Class with Attribute with ↵ | Kamen Mazdrashki | 1 | -2/+10 | |
"mayContain" relation Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed Dec 1 13:30:45 CET 2010 on sn-devel-104 | |||||
2010-11-29 | s4-repl_schema: fixed ldb exception handling | Andrew Tridgell | 1 | -2/+4 | |
2010-11-28 | s4-python: Fix formatting of docstrings for the purpose of pydoctor. | Jelmer Vernooij | 1 | -4/+6 | |
2010-11-27 | s4:torture/drs/python/fsmo.py - fix comments and an error message | Matthias Dieter Wallnöfer | 1 | -3/+3 | |
2010-11-23 | s4-test/repl_schema: Refactor the test a little bit to | Kamen Mazdrashki | 1 | -31/+59 | |
- Cleanup imports - make sure we have testtools and subunit imported - use dictionaries instead of LDIFs for schema modification so now callers for _make_class can easily add new attributes for created class - simplify a little bit classSchema creation - test attributeSchema replication Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Tue Nov 23 18:44:46 CET 2010 on sn-devel-104 | |||||
2010-11-22 | s4-test/repl_schema: Remote global ldb connections | Kamen Mazdrashki | 1 | -25/+7 | |
Although unlikely, Jelmer pointed out that using persistent SamDB connections between test may interfere with tests behaviour (and is not xUnit compliant anyway) Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Mon Nov 22 15:24:03 CET 2010 on sn-devel-104 | |||||
2010-11-11 | s4-test: repl_schema - Make sure LdbError and ERR_NO_SUCH_OBJECT are visible | Kamen Mazdrashki | 1 | -0/+1 | |
2010-11-08 | s4-test: Initial implementation for Schema replication black box test | Kamen Mazdrashki | 1 | -0/+174 | |
2010-10-28 | s4 net: rename to samba-tool in order to not clash with s3 net | Kai Blin | 2 | -7/+7 | |
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Thu Oct 28 07:25:16 UTC 2010 on sn-devel-104 | |||||
2010-10-03 | s4-test-fsmo.py: Implement kind of busy-wait for role transfer | Kamen Mazdrashki | 1 | -18/+36 | |
This allows us not to hard code timeout we are going to wait for before failing the test - if DCs are not very busy, we won't wait at all (speeds up 'make test' by a minute also) Maximum timeout to wait for is set to 20 secs currently, which should be enough even for slow machines and tested DCs being under load | |||||
2010-10-03 | s4-test-fsmo.py: Use common implementation for env_get_var_value() | Kamen Mazdrashki | 1 | -8/+2 | |
2010-10-03 | s4-test-delete_object.py: Use common implementation for env_get_var_value() | Kamen Mazdrashki | 1 | -8/+2 | |
2010-10-03 | s4-test-fsmo.py: Use common implementation for connect_samdb() | Kamen Mazdrashki | 1 | -22/+2 | |
Connections are restricted to LDAP only (remote), as this test can't be run against local LDBs | |||||
2010-10-03 | s4-test-delete_object.py: Use common implementation for connect_samdb() | Kamen Mazdrashki | 1 | -20/+2 | |
Connections are restricted to LDAP only (remote), as this test can't be run against local LDBs | |||||
2010-10-01 | delete_object: Remove unnecessary pass calls. | Jelmer Vernooij | 1 | -7/+0 | |
2010-09-26 | s4-fsmo.py: Fix usage of 'paged_search' module for remote LDB connections | Kamen Mazdrashki | 1 | -2/+3 | |
2010-09-26 | s4-delete_object.py: Fix usage of 'paged_search' module for remote LDB ↵ | Kamen Mazdrashki | 1 | -2/+3 | |
connections | |||||
2010-09-22 | s4-drs-test: Relax a check that may possibly fail | Kamen Mazdrashki | 1 | -1/+7 | |
This check may fail due to automatic replication between DCs during the test execution. Ideally we should block automatic replications (somehow) during this test. But until then, we need just to skip this check, it is not *that* important anyway | |||||
2010-09-19 | s4/fsmo: Naming master support added | Anatoliy Atanasov | 1 | -0/+4 | |
Test suite for fsmo is extended with a test case for naming master too. | |||||
2010-09-15 | s4/fsmo: Extended fsmo test with infrastructure, pdc and rid roles | Anatoliy Atanasov | 1 | -21/+44 | |
2010-09-10 | s4/fsmo: Added python tests for schema master transfer op | Anatoliy Atanasov | 1 | -0/+152 | |
2010-08-30 | s4-drs-test: Skip a check that may possibly fail | Kamen Mazdrashki | 1 | -1/+7 | |
This check may fail due to automatic replication between DCs during the test execution. Ideally we should block automatic replications (somehow) during this test. But until then, we need just to skip this check, it is not *that* important anyway | |||||
2010-08-30 | s4-drs-test: Use dns hostnames to run 'net drs replicate' command | Kamen Mazdrashki | 1 | -5/+5 | |
2010-06-28 | s4/drs-test: Add few comments in DrsDeleteObjectTestCase test | Kamen Mazdrashki | 1 | -3/+10 | |
Also remove unused code | |||||
2010-06-26 | s4/drs-test: Fix whitespaces and permissions for delete_object.py test | Kamen Mazdrashki | 1 | -5/+5 | |
Sorry I've missed to do this before | |||||
2010-06-25 | s4/drs-test: Tests Deleted objects replication | Kamen Mazdrashki | 1 | -0/+222 | |
Tests how deleted objects are replicated between two DCs. Currently the test exploits following vulnerabilities: - DsReplicaSync is not correctly implemented - a 'deleted object' is restored (kind of) in case DC1 replicates from DC2 before the 'deleted object' is replicated |