mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
e2e: wait for member publishing after backup
This commit is contained in:
parent
81b4e6d332
commit
f2b2e0761a
@ -257,6 +257,10 @@ func TestCtlV2Backup(t *testing.T) { // For https://github.com/coreos/etcd/issue
|
||||
cfg2.forceNewCluster = true
|
||||
epc2 := setupEtcdctlTest(t, &cfg2, false)
|
||||
|
||||
if _, err := epc2.procs[0].proc.Expect("etcdserver: published"); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
// check if backup went through correctly
|
||||
if err := etcdctlGet(epc2, "foo1", "bar", false); err != nil {
|
||||
t.Fatal(err)
|
||||
|
Loading…
x
Reference in New Issue
Block a user