diff options
Diffstat (limited to 'buildscripts/resmokelib/testing/fixtures/cluster_to_cluster.py')
-rw-r--r-- | buildscripts/resmokelib/testing/fixtures/cluster_to_cluster.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/buildscripts/resmokelib/testing/fixtures/cluster_to_cluster.py b/buildscripts/resmokelib/testing/fixtures/cluster_to_cluster.py index 90d28687c03..14671e069b6 100644 --- a/buildscripts/resmokelib/testing/fixtures/cluster_to_cluster.py +++ b/buildscripts/resmokelib/testing/fixtures/cluster_to_cluster.py @@ -78,6 +78,13 @@ class ClusterToClusterFixture(interface.MultiClusterFixture): # pylint: disable for i, cluster in enumerate(self.clusters): self.logger.info(f"Setting up cluster {i}.") cluster.setup() + + source_url = self.clusters[self.source_cluster_index].get_driver_connection_url() + dest_url = self.clusters[1 - self.source_cluster_index].get_driver_connection_url() + self.logger.info("Setting source cluster string: '%s', destination cluster string: '%s'", + source_url, dest_url) + self.replicator.set_cli_options({'sourceURI': source_url, 'destinationURI': dest_url}) + self.replicator.setup() def pids(self): |