From bc3bdcb49ae8bb0d2c5aaa26c192f301cc4c800c Mon Sep 17 00:00:00 2001 From: Alexander Petric Date: Thu, 1 May 2025 13:46:52 -0400 Subject: [PATCH] extra logging for agent_token flake (#5693) * extra logging for agent_token flake * extra logging for agent_token flake --- integration_tests/test/agent_workers.py | 1 + integration_tests/test/wmill_integration_test_utils.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/integration_tests/test/agent_workers.py b/integration_tests/test/agent_workers.py index 82a2cf3b52..4b0c616433 100644 --- a/integration_tests/test/agent_workers.py +++ b/integration_tests/test/agent_workers.py @@ -163,6 +163,7 @@ class TestAgentWorkers(unittest.TestCase): def test_create_agent_token(self): token = self._agent_token + print(f"Agent token tests for token: {token}") self.assertIsNotNone(token) # JWT tokens have the format: jwt_agent__ diff --git a/integration_tests/test/wmill_integration_test_utils.py b/integration_tests/test/wmill_integration_test_utils.py index bb4b2ffe22..b817cd4659 100644 --- a/integration_tests/test/wmill_integration_test_utils.py +++ b/integration_tests/test/wmill_integration_test_utils.py @@ -415,5 +415,5 @@ class WindmillClient: raise Exception(response.content.decode()) token = response.content.decode().strip('"') - print(f"Created agent token: {token[:15]}...{token[-15:]}") + print(f"Created agent token: {token}") return token