Skip to content

Commit

Permalink
test :WithHealthCheckInterval time change 1s
Browse files Browse the repository at this point in the history
  • Loading branch information
codefish committed Feb 17, 2025
1 parent a107f81 commit 5c4ce3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/registry/consul/registry_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ func TestRegistry_Watch(t *testing.T) {
opts: []Option{
WithHeartbeat(true),
WithHealthCheck(true),
WithHealthCheckInterval(5),
WithHealthCheckInterval(1),
},
},
want: []*registry.ServiceInstance{instance3},
Expand Down

0 comments on commit 5c4ce3d

Please sign in to comment.