voidTopologyFail()=>Skip.Inconclusive("Replication tolopogy change failed...and that's both inconsistent and not what we're testing.");
if(RunningInCI)
{
Skip.Inconclusive("TODO: Fix race in broadcast reconfig a zero latency.");
...
...
@@ -227,6 +229,10 @@ public async Task SubscriptionsSurviveMasterSwitchAsync()
});
Assert.False(a.GetServer(TestConfig.Current.FailoverMasterServerAndPort).IsSlave,$"A Connection: {TestConfig.Current.FailoverMasterServerAndPort} should be a master");
Assert.True(a.GetServer(TestConfig.Current.FailoverSlaveServerAndPort).IsSlave,$"A Connection: {TestConfig.Current.FailoverSlaveServerAndPort} should be a slave");
Assert.False(b.GetServer(TestConfig.Current.FailoverMasterServerAndPort).IsSlave,$"B Connection: {TestConfig.Current.FailoverMasterServerAndPort} should be a master");
Assert.True(b.GetServer(TestConfig.Current.FailoverSlaveServerAndPort).IsSlave,$"B Connection: {TestConfig.Current.FailoverSlaveServerAndPort} should be a slave");
...
...
@@ -266,6 +272,11 @@ public async Task SubscriptionsSurviveMasterSwitchAsync()
Assert.True(a.GetServer(TestConfig.Current.FailoverMasterServerAndPort).IsSlave,$"A Connection: {TestConfig.Current.FailoverMasterServerAndPort} should be a slave");
Assert.False(a.GetServer(TestConfig.Current.FailoverSlaveServerAndPort).IsSlave,$"A Connection: {TestConfig.Current.FailoverSlaveServerAndPort} should be a master");