Skip to content

Commit

Permalink
updated docstring for TestHealthServiceQuery_Fetch_SamenessGroup to n…
Browse files Browse the repository at this point in the history
…ote that full behavior for sameness groups is asserted in the consul code base.
  • Loading branch information
jmurret committed Jun 3, 2024
1 parent a2260c4 commit 7c90b52
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dependency/health_service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -691,9 +691,9 @@ func TestHealthServiceQuery_Fetch(t *testing.T) {
}
}

// TestHealthServiceQuery_Fetch_SamenessGroup tests fetching services with sameness group
// and asserts that failover works when a service in the sameness group fails and consul-template
// reacts to the change.
// TestHealthServiceQuery_Fetch_SamenessGroup ensures that consul-template re-runs when the blocking query updates.
// The different behaviors of the blocking query, e.g. "when a service becomes unhealthy it should failover,
// when it becomes healthy again it should fail back", are tested in the Consul codebase.
func TestHealthServiceQuery_Fetch_SamenessGroup(t *testing.T) {
// Arrange - set up test data
catalog := testClients.Consul().Catalog()
Expand Down

0 comments on commit 7c90b52

Please sign in to comment.