Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit73402fc

Browse files
fix: fix flakingTest_sshConfigExecEscape (#14233)
Fixes#13962.
1 parentba4186d commit73402fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎cli/configssh_internal_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ func Test_sshConfigSplitOnCoderSection(t *testing.T) {
138138

139139
// This test tries to mimic the behavior of OpenSSH
140140
// when executing e.g. a ProxyCommand.
141+
// nolint:tparallel
141142
funcTest_sshConfigExecEscape(t*testing.T) {
142143
t.Parallel()
143144

@@ -154,11 +155,10 @@ func Test_sshConfigExecEscape(t *testing.T) {
154155
{"tabs","path with\ttabs",false},
155156
{"newline fails","path with\nnewline",true},
156157
}
158+
// nolint:paralleltest // Fixes a flake
157159
for_,tt:=rangetests {
158160
tt:=tt
159161
t.Run(tt.name,func(t*testing.T) {
160-
t.Parallel()
161-
162162
ifruntime.GOOS=="windows" {
163163
t.Skip("Windows doesn't typically execute via /bin/sh or cmd.exe, so this test is not applicable.")
164164
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp