From e05eec55e8390e4570147abd5d32eedabed7267b Mon Sep 17 00:00:00 2001 From: viettranx Date: Wed, 3 Jun 2026 21:23:06 +0700 Subject: [PATCH] test(git): isolate ssh tmpfile mismatch check --- tests/integration/git_adapter_ssh_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/integration/git_adapter_ssh_test.go b/tests/integration/git_adapter_ssh_test.go index 302d2cf2..2c7f5495 100644 --- a/tests/integration/git_adapter_ssh_test.go +++ b/tests/integration/git_adapter_ssh_test.go @@ -160,8 +160,7 @@ func TestGitAdapter_SSH_CleanupOnExecFailure(t *testing.T) { // TestGitAdapter_SSH_HostMismatch_NoTmpfile: rejected host mismatch must // NOT leave an orphaned tmpfile in os.TempDir(). func TestGitAdapter_SSH_HostMismatch_NoTmpfile(t *testing.T) { - t.Parallel() - + t.Setenv("TMPDIR", t.TempDir()) cred := sshCredFor(t, "github.com") adapter := tools.AdapterFor("git")