primaryCrashElectRestart kills the current primary proxy, wait for the new primary proxy is up and verifies it, restores the original primary proxy as non primary
(t *testing.T)
| 93 | // primaryCrashElectRestart kills the current primary proxy, wait for the new primary proxy is up and verifies it, |
| 94 | // restores the original primary proxy as non primary |
| 95 | func primaryCrashElectRestart(t *testing.T) { |
| 96 | proxyURL := tutils.RandomProxyURL(t) |
| 97 | killRestorePrimary(t, proxyURL, false, nil) |
| 98 | } |
| 99 | |
| 100 | func killRestorePrimary(t *testing.T, proxyURL string, restoreAsPrimary bool, |
| 101 | postKill func(smap *cluster.Smap, newPrimary, oldPrimary *cluster.Snode)) *cluster.Smap { |
nothing calls this directly
no test coverage detected