Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ignore delete pod cache error msg #714

Merged
merged 2 commits into from
Oct 20, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix test case
  • Loading branch information
Donghui0 committed Oct 18, 2021
commit f0fd6a4a32f589d9bc814e14e2ec2c4bfa910892
2 changes: 1 addition & 1 deletion pkg/types/pod_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func TestPodCacheBadCases(t *testing.T) {
},
}
assert.Equal(t, pc.Add(pod1), ErrPodNoAssignedIP, "adding pod")
assert.Equal(t, pc.Delete(pod1), ErrPodNoAssignedIP, "deleting pod")
assert.Equal(t, pc.Delete(pod1), nil, "deleting pod")
}

func TestPodCache(t *testing.T) {
Expand Down