Skip to content

Commit

Permalink
test: fix the TestCtlV3ConsistentMemberList: set the wait-cluster-rea…
Browse files Browse the repository at this point in the history
…dy-timeout as 1ns

Signed-off-by: Benjamin Wang <[email protected]>
  • Loading branch information
ahrtr committed Sep 30, 2023
1 parent ddf9756 commit b8103b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/ctl_v3_member_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b8103b0

Please sign in to comment.