Skip to content

Commit c91e2eb

Browse files
committed
update integration test
1 parent c8b7149 commit c91e2eb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

agent_integration_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ func TestAgentsRead(t *testing.T) {
2323
upgradeOrganizationSubscription(t, client, org)
2424

2525
agent, _, agentCleanup := createAgent(t, client, org)
26-
agent2, _, agentCleanup := createAgent(t, client, org)
2726

2827
t.Cleanup(agentCleanup)
2928

@@ -57,8 +56,10 @@ func TestAgentsList(t *testing.T) {
5756

5857
upgradeOrganizationSubscription(t, client, org)
5958

60-
_, agentPool, agentCleanup := createAgent(t, client, org)
59+
agent1, agentPool, agentCleanup := createAgent(t, client, org)
6160
t.Cleanup(agentCleanup)
61+
agent2, agentPool, agentCleanup2 := createAgent(t, client, org)
62+
t.Cleanup(agentCleanup2)
6263

6364
t.Run("expect an agent to exist", func(t *testing.T) {
6465
agent, err := client.Agents.List(ctx, agentPool.ID, nil)

0 commit comments

Comments
 (0)