Jelajahi Sumber

functional/cluster: handle "SIGQUIT_AND_REMOVE_QUORUM_AND_RESTORE_SNAPSHOT_FROM_SCRATCH"

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Gyuho Lee 7 tahun lalu
induk
melakukan
67e398c86a
1 mengubah file dengan 3 tambahan dan 0 penghapusan
  1. 3 0
      functional/tester/cluster.go

+ 3 - 0
functional/tester/cluster.go

@@ -173,6 +173,9 @@ func (clus *Cluster) updateFailures() {
 		case "SIGQUIT_AND_REMOVE_LEADER_UNTIL_TRIGGER_SNAPSHOT":
 		case "SIGQUIT_AND_REMOVE_LEADER_UNTIL_TRIGGER_SNAPSHOT":
 			clus.failures = append(clus.failures,
 			clus.failures = append(clus.failures,
 				new_FailureCase_SIGQUIT_AND_REMOVE_LEADER_UNTIL_TRIGGER_SNAPSHOT(clus))
 				new_FailureCase_SIGQUIT_AND_REMOVE_LEADER_UNTIL_TRIGGER_SNAPSHOT(clus))
+		case "SIGQUIT_AND_REMOVE_QUORUM_AND_RESTORE_SNAPSHOT_FROM_SCRATCH":
+			clus.failures = append(clus.failures,
+				new_FailureCase_SIGQUIT_AND_REMOVE_QUORUM_AND_RESTORE_SNAPSHOT_FROM_SCRATCH(clus))
 
 
 		case "BLACKHOLE_PEER_PORT_TX_RX_ONE_FOLLOWER":
 		case "BLACKHOLE_PEER_PORT_TX_RX_ONE_FOLLOWER":
 			clus.failures = append(clus.failures,
 			clus.failures = append(clus.failures,