Skip to content

Commit 00558aa

Browse files
authored
Merge pull request #4058 from apostasie/nerdctl-drifting
[P0] [CI] Adjust drifting test
2 parents 14c10b1 + aab2d50 commit 00558aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/nerdctl/image/image_history_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ func TestImageHistory(t *testing.T) {
9595
assert.Equal(t, len(history), 2, info)
9696
assert.Equal(t, history[0].Size, "0B", info)
9797
// FIXME: how is this going to age?
98-
assert.Equal(t, history[0].CreatedSince, "3 years ago", info)
98+
assert.Equal(t, history[0].CreatedSince, "4 years ago", info)
9999
assert.Equal(t, history[0].Snapshot, "<missing>", info)
100100
assert.Equal(t, history[0].Comment, "", info)
101101

@@ -109,7 +109,7 @@ func TestImageHistory(t *testing.T) {
109109
assert.Equal(t, history[1].CreatedBy, "/bin/sh -c #(nop) ADD file:3b16ffee2b26d8af5…", info)
110110

111111
assert.Equal(t, history[1].Size, "5.947MB", info)
112-
assert.Equal(t, history[1].CreatedSince, "3 years ago", info)
112+
assert.Equal(t, history[1].CreatedSince, "4 years ago", info)
113113
assert.Equal(t, history[1].Snapshot, "sha256:56bf55b8eed1f0b4794a30386e4d1d3da949c…", info)
114114
assert.Equal(t, history[1].Comment, "", info)
115115
}),

0 commit comments

Comments
 (0)