From a5238e867c29469bfa20b400df6ed85cd143a6c9 Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Fri, 8 Oct 2021 22:22:36 +0300 Subject: [PATCH] Adapt event test for kustomize-controller v0.15 Signed-off-by: Stefan Prodan --- tests/azure/azure_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/azure/azure_test.go b/tests/azure/azure_test.go index 6b564d50..4a8cdd1c 100644 --- a/tests/azure/azure_test.go +++ b/tests/azure/azure_test.go @@ -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