Skip to content
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
fixup! Verify that client respects option to suppress warnings
Always delete test namespace.
  • Loading branch information
dlipovetsky committed Jul 26, 2024
commit 3750cad1ed3b87126f1744b9a43e573eb7cbd4a7
2 changes: 1 addition & 1 deletion pkg/client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ U5wwSivyi7vmegHKmblOzNVKA5qPO8zWzqBC
tns, err = clientset.CoreV1().Namespaces().Create(ctx, tns, metav1.CreateOptions{})
Expect(err).NotTo(HaveOccurred())
Expect(tns).NotTo(BeNil())
defer deleteNamespace(ctx, tns)

toCreate := &pkg.ChaosPod{
ObjectMeta: metav1.ObjectMeta{
Expand All @@ -267,7 +268,6 @@ U5wwSivyi7vmegHKmblOzNVKA5qPO8zWzqBC
}
}
defer Fail("expected to find one API server warning in the client log")
deleteNamespace(ctx, tns)
})

It("should not log warnings when warning suppression is enabled", func() {
Expand Down