Skip to content

Commit

Permalink
Merge pull request #3842 from apostasie/ci-utc-fix
Browse files Browse the repository at this point in the history
Fix test time to use UTC
  • Loading branch information
AkihiroSuda authored Jan 27, 2025
2 parents 1e8f43b + 99bd772 commit c890dd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/nerdctl/container/container_logs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ bar`
base.Cmd("logs", "-f", containerName).AssertOutContains("foo")

//test timestamps flag
base.Cmd("logs", "-t", containerName).AssertOutContains(time.Now().Format("2006-01-02"))
base.Cmd("logs", "-t", containerName).AssertOutContains(time.Now().UTC().Format("2006-01-02"))

//test tail flag
base.Cmd("logs", "-n", "all", containerName).AssertOutContains(expected)
Expand Down

0 comments on commit c890dd6

Please sign in to comment.