Skip to content

Commit

Permalink
ci: fix flashy tests (#220)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #220

This test was failing in CI because the expected output was not what was actually being logged. It was just a simple miss and not indicative of any other problem so this just adjusts the expected result.

Test Plan: CI

Reviewed By: binhuang00

Differential Revision: D46232899

fbshipit-source-id: a1b7bd8059441e5cd6fb593218e04cafd3b502dd
  • Loading branch information
Scott8440 authored and facebook-github-bot committed May 30, 2023
1 parent 6565157 commit 642eda5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/flashy/lib/utils/system_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,10 @@ func TestRunCommand(t *testing.T) {
wantExitCode: 127,
wantErr: errors.Errorf("exit status 127"),
wantStdout: "",
wantStderr: "bash: ech0: command not found\n",
wantStderr: "bash: line 1: ech0: command not found\n",
logContainsSeq: []string{
"Running command 'bash -c ech0 openbmc' with 30s timeout",
"stderr: bash: ech0: command not found",
"stderr: bash: line 1: ech0: command not found",
"Command 'bash -c ech0 openbmc' exited with code 127 after",
},
},
Expand Down

0 comments on commit 642eda5

Please sign in to comment.