mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #16671 from ahrtr/member_test_20230930
test: fix the TestCtlV3ConsistentMemberList: set the wait-cluster-ready-timeout as 1ns
This commit is contained in:
commit
0c0128aad4
@ -69,7 +69,7 @@ func TestCtlV3ConsistentMemberList(t *testing.T) {
|
||||
|
||||
epc, err := e2e.NewEtcdProcessCluster(ctx, t,
|
||||
e2e.WithClusterSize(1),
|
||||
e2e.WithWaitClusterReadyTimeout(0),
|
||||
e2e.WithWaitClusterReadyTimeout(1*time.Nanosecond),
|
||||
e2e.WithEnvVars(map[string]string{"GOFAIL_FAILPOINTS": `beforeApplyOneConfChange=sleep("2s")`}),
|
||||
)
|
||||
require.NoError(t, err, "failed to start etcd cluster: %v", err)
|
||||
|
Loading…
x
Reference in New Issue
Block a user