Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
chenzeping.ricco committed Nov 18, 2024
1 parent 128a1e9 commit d9a82e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/consul_client/consul_client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ func TestGetServiceInstanceInfo(t *testing.T) {
assert.Nil(t, err)
assert.True(t, registerResult3)

time.Sleep(time.Second)
time.Sleep(time.Second * 3)

//get nodes
instanceDetail, err := scc.GetServiceInstanceInfo(metaData1)
Expand Down Expand Up @@ -379,7 +379,7 @@ func TestEntireConsulFunction(t *testing.T) {
assert.Nil(t, err)
assert.True(t, registerResult3)

time.Sleep(time.Second)
time.Sleep(time.Second * 3)

//get nodes
instanceDetail1, err := scc.GetServiceInstanceInfo(metaData1)
Expand Down

0 comments on commit d9a82e7

Please sign in to comment.