test: fix the TestCtlV3ConsistentMemberList: set the wait-cluster-ready-timeout as 1ns

Signed-off-by: Benjamin Wang <wachao@vmware.com>
This commit is contained in:
Benjamin Wang 2023-09-30 14:21:26 +01:00
parent ddf9756807
commit b8103b0fe4

View File

@ -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)