Skip to content

Commit

Permalink
Fixed unstable test TestCatalog_ListNodes_StaleRead()
Browse files Browse the repository at this point in the history
  • Loading branch information
pierresouchay committed Oct 5, 2018
1 parent 7c5c763 commit 8a16dce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agent/consul/catalog_endpoint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -907,8 +907,8 @@ func TestCatalog_ListNodes_StaleRead(t *testing.T) {
// Try to join
joinLAN(t, s2, s1)

testrpc.WaitForLeader(t, s1.RPC, "dc1")
testrpc.WaitForLeader(t, s2.RPC, "dc1")
testrpc.WaitForTestAgent(t, s1.RPC, "dc1")
testrpc.WaitForTestAgent(t, s2.RPC, "dc1")

// Use the follower as the client
var codec rpc.ClientCodec
Expand Down

0 comments on commit 8a16dce

Please sign in to comment.