From cec1a95f53ada5da216cc472b94e6900249abfa6 Mon Sep 17 00:00:00 2001 From: Francisco Valente <1435136+franciscovalentecastro@users.noreply.github.com> Date: Mon, 8 Jan 2024 16:39:14 +0000 Subject: [PATCH] Update integration test comment. --- integration_test/ops_agent_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration_test/ops_agent_test.go b/integration_test/ops_agent_test.go index 87303a2a40..b0b017e075 100644 --- a/integration_test/ops_agent_test.go +++ b/integration_test/ops_agent_test.go @@ -3803,8 +3803,8 @@ func TestLoggingSelfLogs(t *testing.T) { t.Error(err) } - // Waiting 10 minutes (subtracting current test runtime) after - // Ops Agent startup for "LogPingOpsAgent" to show. + // Waiting 10 minutes (subtracting current test runtime) after Ops Agent startup for + // "LogPingOpsAgent" to show. We can remove wait when feature b/319102785 is complete. time.Sleep(10 * time.Minute - time.Now().Sub(start)) queryPing := fmt.Sprintf(`severity="DEBUG" AND jsonPayload.code="LogPingOpsAgent" AND labels."agent.googleapis.com/health/agentKind"="ops-agent" AND labels."agent.googleapis.com/health/agentVersion"=~"^\d+\.\d+\.\d+.*$" AND labels."agent.googleapis.com/health/schemaVersion"="v1"`) if err := gce.WaitForLog(ctx, logger.ToMainLog(), vm, "ops-agent-health", time.Hour, queryPing); err != nil {