| | |
| | | @BeforeClass |
| | | @Override |
| | | public void setUp() throws Exception |
| | | { |
| | | { |
| | | super.setUp(); |
| | | |
| | | // Find a free port for the replicationServer |
| | |
| | | assertFalse(attrValues.hasNext()); |
| | | assertEquals(attrValue.toString(), attributeValue, "Was expecting attribute " + |
| | | attributeName + "=" + attributeValue + " but got value: " + attrValue.toString()); |
| | | |
| | | |
| | | } |
| | | |
| | | /** |
| | |
| | | * but have instead: |
| | | * [testng] parameter[0]: 6 |
| | | * [testng] parameter[1]: [Ljava.lang.String;@151e824 |
| | | */ |
| | | */ |
| | | private void testInitWithFullUpdateExclude(int testProviderLineId, |
| | | boolean importedDomainIsFractional, String... fractionalConf) throws Exception |
| | | { |
| | |
| | | "objectClass: person\n" + "objectClass: organizationalPerson\n" + |
| | | "objectClass: inetOrgPerson\n" + |
| | | "sn: snValue\n" + "cn: cnValue\n" + "uid: 1\n" + "entryUUID: " + |
| | | ENTRY_UUID + "\n" + OPTIONAL_ATTR + ": " + OPTIONAL_ATTR + "Value\n"; |
| | | ENTRY_UUID + "\n" + OPTIONAL_ATTR + ": " + OPTIONAL_ATTR + "Value\n"; |
| | | // Add attributes concerned by fractional configuration |
| | | boolean first = true; |
| | | for (String fracCfgValue : fractionalConf) |
| | |
| | | |
| | | // The domain should go back in normal status |
| | | waitForDomainStatus(fractionalReplicationDomain, |
| | | ServerStatus.NORMAL_STATUS, 5); |
| | | ServerStatus.NORMAL_STATUS, 15); |
| | | |
| | | // check that entry has been created and that it does not contain |
| | | // forbidden attributes |