Skip to content

Commit 0f5044c

Browse files
committed
Clear stale deploy logs between integration test runs
The OTel collector files were already cleared, but deploy log files in /tmp/kamal-deploy-logs/ were not, which could cause assert_deploy_log to match stale content from prior test cases.
1 parent 4774871 commit 0f5044c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/integration_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class IntegrationTest < ActiveSupport::TestCase
77
docker_compose "up --build -d"
88
wait_for_healthy
99
setup_deployer
10-
deployer_exec("sh -c 'rm -f /tmp/otel/*.json'", workdir: "/")
10+
deployer_exec("sh -c 'rm -f /tmp/otel/*.json /tmp/kamal-deploy-logs/*'", workdir: "/")
1111
@app = "app"
1212
end
1313

0 commit comments

Comments
 (0)