Skip to content

Commit

Permalink
good
Browse files Browse the repository at this point in the history
Signed-off-by: Clark <[email protected]>
  • Loading branch information
clement2026 committed Aug 11, 2022
1 parent 51c71c4 commit d3ef5bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/framework/e2e.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func (c *e2eCluster) WaitMembersForLeader(ctx context.Context, t testing.TB, mem
for {
select {
case <-ctx.Done():
t.Fatalf("WaitMembersForLeader timeout")
t.Fatal("WaitMembersForLeader timeout")
default:
}
_, err := cc.Get("0", config.GetOptions{Timeout: 10*TickDuration + time.Second})
Expand All @@ -127,7 +127,7 @@ func (c *e2eCluster) WaitMembersForLeader(ctx context.Context, t testing.TB, mem
for {
select {
case <-ctx.Done():
t.Fatalf("WaitMembersForLeader timeout")
t.Fatal("WaitMembersForLeader timeout")
default:
}
for i := range membs {
Expand Down Expand Up @@ -158,7 +158,7 @@ func (c *e2eCluster) WaitMembersForLeader(ctx context.Context, t testing.TB, mem
}
t.Fatalf("members agree on a leader which is not one of members, members:%v , leader:%v", members, l)
}
t.Fatalf("impossible path of execution")
t.Fatal("impossible path of execution")
return -1
}

Expand Down

0 comments on commit d3ef5bb

Please sign in to comment.