Skip to content

Commit

Permalink
Removing EndpointCounter
Browse files Browse the repository at this point in the history
  • Loading branch information
dscervantes committed Jan 21, 2025
1 parent 3cdb0de commit 0e9822c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions service/availability_check_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import (

type dummyChecker struct {
ApplicationCounter int
EndpointCounter int
RhcConnectionCounter int
}

Expand Down Expand Up @@ -89,10 +88,6 @@ func TestAllAvailability(t *testing.T) {
t.Errorf("availability check not called for both applications, got %v expected %v", acr.ApplicationCounter, 3)
}

if acr.EndpointCounter != 4 {
t.Errorf("availability check not called for all endpoints, got %v expected %v", acr.EndpointCounter, 4)
}

if acr.RhcConnectionCounter != 1 {
t.Errorf("availability check not called for all rhc connections, got %v expected %v", acr.RhcConnectionCounter, 1)
}
Expand Down

0 comments on commit 0e9822c

Please sign in to comment.