mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-10 04:27:54 +00:00
Fix test
This commit is contained in:
parent
9f81cf096b
commit
89012ccb23
@ -218,9 +218,10 @@ func TestContainerLogPath(t *testing.T) {
|
|||||||
assert.NoError(t, err)
|
assert.NoError(t, err)
|
||||||
|
|
||||||
// Verify container log symlink deletion
|
// Verify container log symlink deletion
|
||||||
|
// symlink is also tentatively deleted at startup
|
||||||
err = ds.RemoveContainer(id)
|
err = ds.RemoveContainer(id)
|
||||||
assert.NoError(t, err)
|
assert.NoError(t, err)
|
||||||
assert.Equal(t, fakeOS.Removes, []string{kubeletContainerLogPath})
|
assert.Equal(t, []string{kubeletContainerLogPath, kubeletContainerLogPath}, fakeOS.Removes)
|
||||||
}
|
}
|
||||||
|
|
||||||
// TestContainerCreationConflict tests the logic to work around docker container
|
// TestContainerCreationConflict tests the logic to work around docker container
|
||||||
|
Loading…
Reference in New Issue
Block a user