Skip to content

Commit 8203917

Browse files
authored
Merge pull request #1241 from fahedouch/make-log-message-more-sepcefic
TestRunWithJsonFileLogDriver: make log message more relevant
2 parents beeff50 + 685371e commit 8203917

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/nerdctl/run_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ func TestRunWithJsonFileLogDriver(t *testing.T) {
234234
matches, err := filepath.Glob(filepath.Join(logJSONPath, inspectedContainer.ID+"*"))
235235
assert.NilError(t, err)
236236
if len(matches) != 2 {
237-
t.Fatalf("the maximum number of old log files to retain exceeded 2 files, got: %s", matches)
237+
t.Fatalf("the number of log files is not equal to 2 files, got: %s", matches)
238238
}
239239
for _, file := range matches {
240240
fInfo, err := os.Stat(file)

0 commit comments

Comments
 (0)