Skip to content

Commit

Permalink
fix: fail test on pr #11368 (#11576)
Browse files Browse the repository at this point in the history
  • Loading branch information
sonbui00 authored Aug 15, 2023
1 parent 6a1c7ef commit 1fd6e40
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/argoexec/commands/emissary_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func TestEmissary(t *testing.T) {
})
t.Run("Sub-process", func(t *testing.T) {
_ = os.Remove(varRunArgo + "/ctr/main/stdout")
err := run("(sleep 60; echo 'should not wait for sub-process')& echo -n hello")
err := run(`(sleep 60; echo 'should not wait for sub-process')& echo "hello\c"`)
assert.NoError(t, err)
data, err := os.ReadFile(varRunArgo + "/ctr/main/stdout")
assert.NoError(t, err)
Expand Down
2 changes: 1 addition & 1 deletion workflow/executor/os-specific/command_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
)

func TestSimpleStartCloser(t *testing.T) {
cmd := exec.Command("sh", "-c", "echo -n A123456789B123456789C123456789D123456789E123456789")
cmd := exec.Command("sh", "-c", `echo "A123456789B123456789C123456789D123456789E123456789\c"`)
var stdoutWriter bytes.Buffer
slowWriter := SlowWriter{
&stdoutWriter,
Expand Down

0 comments on commit 1fd6e40

Please sign in to comment.