Skip to content

Commit

Permalink
Linter pass
Browse files Browse the repository at this point in the history
  • Loading branch information
EduardGomezEscandell committed Nov 20, 2023
1 parent 68f326f commit c20cb8d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions end-to-end/landscape_utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,7 @@ func (l landscape) RequireFinalTestChecks(t *testing.T, ctx context.Context, wan
t.Helper()

require.Eventually(t, func() bool {
if len(l.service.Hosts()) > 0 {
return true
}
return false
return len(l.service.Hosts()) > 0
}, time.Minute, time.Second, "Landscape should have had at least one connection")

require.Len(t, l.service.Hosts(), 1, "Landscape should have had only one connection")
Expand Down

0 comments on commit c20cb8d

Please sign in to comment.