Lines Matching refs:domain2
92 FakeReplicationDomain domain2 = null;
112 domain2 = new FakeReplicationDomain(
119 * Check that domain2 receives it shortly after.
158 assertExpectedServerStatuses(domain2.getReplicaInfos(),
165 Map<Integer, ServerState> states2 = domain2.getReplicaStates();
185 disable(domain1, domain2);
270 * Check that domain2 receives it shortly after.
346 FakeReplicationDomain domain2 = null;
361 domain2 = new FakeReplicationDomain(
365 * Trigger a total update from domain1 to domain2.
366 * Check that the exported data is correctly received on domain2.
368 assertTrue(initializeFromRemote(domain2));
370 assertExportSucessful(domain1, domain2, exportedData, importedData);
374 disable(domain1, domain2);
406 FakeReplicationDomain domain2 = null;
427 domain2 = new FakeReplicationDomain(
430 domain2.initializeFromRemote(1, NO_INIT_TASK);
433 assertExportSucessful(domain1, domain2, exportedData, importedData);
437 disable(domain1, domain2);
463 ReplicationDomain domain2, String exportedData, StringBuilder importedData)
465 assertEquals(getLeftEntryCount(domain2), 0, "Wrong LeftEntryCount for export");
557 * Trigger a total update from domain1 to domain2.
558 * Check that the exported data is correctly received on domain2.