Chkmqstarted (#135)

* Add chkmqstarted

* Fix go.sum

* Fix bug & extra unit-test check

* Clean-up StartupProbe output
This commit is contained in:
Stephen D Marshall
2021-01-21 11:13:08 +00:00
committed by GitHub Enterprise
parent 8a2faf2955
commit 2ae82d71d6
6 changed files with 122 additions and 1 deletions

View File

@@ -116,7 +116,11 @@ func waitForReadyHA(t *testing.T, cli *client.Client, qmReplicaIDs [3]string) {
rc, _ := execContainer(t, cli, id, "", []string{"chkmqready"})
if rc == 0 {
t.Log("MQ is ready")
return
rc, _ := execContainer(t, cli, id, "", []string{"chkmqstarted"})
if rc == 0 {
t.Log("MQ has started")
return
}
}
}
case <-ctx.Done():