You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Below I have a really simple test and a minimal working example.
In the test I am inserting 4 jobs into my fake client. I then delete all jobs that match both the labels AND the namespace. I marked the jobs that should be deleted with // match. The other 2 jobs should stay.
When I run this I get
Error: "map[App1:%!s(bool=true) App2:%!s(bool=true) OtherApp:%!s(bool=true)]" should have 2 item(s), but has 3
Why do App1, App2 and OtherApp not get deleted? Is this a bug in the fake k8s client?
Below I have a really simple test and a minimal working example.
In the test I am inserting 4 jobs into my fake client. I then delete all jobs that match both the labels AND the namespace. I marked the jobs that should be deleted with
// match
. The other 2 jobs should stay.When I run this I get
Why do
App1
,App2
andOtherApp
not get deleted? Is this a bug in the fake k8s client?Also posted this to StackOverflow
The text was updated successfully, but these errors were encountered: