mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-10-23 13:13:21 +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:
@@ -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{}
|
||||
|
Reference in New Issue
Block a user