From e18ec5bdd83e7abd6a7a2532d0d320edc6cef126 Mon Sep 17 00:00:00 2001 From: Yevhen Ivantsov Date: Mon, 26 Aug 2024 21:19:01 +1000 Subject: [PATCH] Fix test --- test/e2etest/bamboo_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2etest/bamboo_test.go b/test/e2etest/bamboo_test.go index dc2b5df7..9a136ee7 100644 --- a/test/e2etest/bamboo_test.go +++ b/test/e2etest/bamboo_test.go @@ -81,7 +81,7 @@ func assertRemoteAgentList(t *testing.T, testConfig TestConfig, productUrl strin err = json.NewDecoder(resp.Body).Decode(&agents) assert.NoError(t, err) expectedNumAgents := 2 - assert.GreaterOrEqual(t, expectedNumAgents, len(agents), "Number of agents should match the expected count") + assert.GreaterOrEqual(t, len(agents), expectedNumAgents, "Number of agents should match the expected count") for _, agent := range agents { assert.True(t, agent.Active, "Agent %s (ID: %d) should be active", agent.Name, agent.ID) }