Removed un-needed check in test

Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
Derek Collison
2021-03-20 17:11:58 -07:00
parent 0bcda04a9d
commit fcd4d0b75f

View File

@@ -4860,10 +4860,6 @@ func TestJetStreamClusterSuperClusterEphemeralCleanup(t *testing.T) {
if !active || dtimerSet {
t.Fatalf("Invalid values for active=%v dtimerSet=%v", active, dtimerSet)
}
if gwtimerSet && test.sourceInCluster == 0 || !gwtimerSet && test.sourceInCluster == 1 {
t.Fatalf("test=%q timerSet=%v", test.name, gwtimerSet)
}
// To add to the mix, let's create a local interest on the delivery subject
// and stop it. This is to ensure that this does not stop timers that should
// still be running and monitor the GW interest.