mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
Merge pull request #85390 from xiaoanyunfei/bugfix/plegTestRelisting
fix pleg TestRelisting
This commit is contained in:
commit
628102d038
@ -136,7 +136,8 @@ func TestRelisting(t *testing.T) {
|
||||
// The second relist should not send out any event because no container has
|
||||
// changed.
|
||||
pleg.relist()
|
||||
verifyEvents(t, expected, actual)
|
||||
actual = getEventsFromChannel(ch)
|
||||
assert.True(t, len(actual) == 0, "no container has changed, event length should be 0")
|
||||
|
||||
runtime.AllPodList = []*containertest.FakePod{
|
||||
{Pod: &kubecontainer.Pod{
|
||||
|
Loading…
Reference in New Issue
Block a user