mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-25 15:02:45 +00:00
runtime/tests: Change "moo FAILURE" message
Change the "moo FAILURE" message shown in a couple of the unit tests to "moo message". This means that searching for unrelated failures in the test output by looking for "FAIL" won't show these messages as false positives any more. fixes #1683 Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
2e60a9d3d9
commit
e7c97f0f5d
@ -869,7 +869,7 @@ func TestMainCreateRuntime(t *testing.T) {
|
||||
assert := assert.New(t)
|
||||
|
||||
const cmd = "foo"
|
||||
const msg = "moo FAILURE"
|
||||
const msg = "moo message"
|
||||
|
||||
resetCLIGlobals()
|
||||
|
||||
@ -942,7 +942,7 @@ func TestMainFatalWriter(t *testing.T) {
|
||||
assert := assert.New(t)
|
||||
|
||||
const cmd = "foo"
|
||||
const msg = "moo FAILURE"
|
||||
const msg = "moo message"
|
||||
|
||||
// create buffer to save logger output
|
||||
buf := &bytes.Buffer{}
|
||||
|
Loading…
Reference in New Issue
Block a user