Skip to content

Commit e98459b

Browse files
committed
Add more error checking
1 parent 54907bf commit e98459b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/monitortests/network/legacynetworkmonitortests/networking.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,9 @@ func testPodSandboxCreation(events monitorapi.Intervals, clientConfig *rest.Conf
179179
continue
180180
}
181181
if strings.Contains(event.Message.HumanMessage, "Multus") &&
182-
strings.Contains(event.Message.HumanMessage, "error getting pod") &&
182+
(strings.Contains(event.Message.HumanMessage, "error getting pod") || strings.Contains(event.Message.HumanMessage, "failed to update the pod")) &&
183183
(strings.Contains(event.Message.HumanMessage, "connection refused") || strings.Contains(event.Message.HumanMessage, "i/o timeout")) {
184-
flakes = append(flakes, fmt.Sprintf("%v - multus is unable to get pods due to LB disruption https://bugzilla.redhat.com/show_bug.cgi?id=1927264 - %v", event.Locator.OldLocator(), event.Message.OldMessage()))
184+
flakes = append(flakes, fmt.Sprintf("%v - multus is unable to access pod due to LB disruption https://bugzilla.redhat.com/show_bug.cgi?id=1927264 - %v", event.Locator.OldLocator(), event.Message.OldMessage()))
185185
continue
186186
}
187187
if strings.Contains(event.Message.HumanMessage, "Multus") && strings.Contains(event.Message.HumanMessage, "error getting pod: Unauthorized") {

0 commit comments

Comments
 (0)