Merge pull request #1914 from fluxcd/fix-event-hub-test
This commit is contained in:
@@ -814,7 +814,7 @@ func TestEventHubNotification(t *testing.T) {
|
|||||||
if event.InvolvedObject.Kind != "Kustomization" {
|
if event.InvolvedObject.Kind != "Kustomization" {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
if event.Message != "Health check passed" {
|
if strings.Contains(event.Message, "Health check passed") {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
|
|||||||
Reference in New Issue
Block a user