Skip to content

Commit 0366ca3

Browse files
committed
Fix log naming
1 parent 81002ab commit 0366ca3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/instances/exec_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ func waitForExecAgent(ctx context.Context, mgr *manager, instanceID string, time
2222
deadline := time.Now().Add(timeout)
2323
for time.Now().Before(deadline) {
2424
logs, err := collectLogs(ctx, mgr, instanceID, 100)
25-
if err == nil && strings.Contains(logs, "[exec-agent] listening on vsock port 2222") {
25+
if err == nil && strings.Contains(logs, "[guest-agent] listening on vsock port 2222") {
2626
return nil
2727
}
2828
time.Sleep(500 * time.Millisecond)

lib/instances/network_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ func TestCreateInstanceWithNetwork(t *testing.T) {
110110

111111
// Wait for exec agent to be ready
112112
t.Log("Waiting for exec agent...")
113-
err = waitForLogMessage(ctx, manager, inst.Id, "[exec-agent] listening", 10*time.Second)
113+
err = waitForLogMessage(ctx, manager, inst.Id, "[guest-agent] listening", 10*time.Second)
114114
require.NoError(t, err, "Exec agent should be listening")
115115
t.Log("Exec agent is ready")
116116

0 commit comments

Comments
 (0)