Adapt event test for kustomize-controller v0.15
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
@@ -814,7 +814,7 @@ func TestEventHubNotification(t *testing.T) {
|
||||
if event.InvolvedObject.Kind != "Kustomization" {
|
||||
return false
|
||||
}
|
||||
if event.Message != "Health check passed" {
|
||||
if strings.Contains(event.Message, "Health check passed") {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user