We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ede9e4 commit c2f1e3dCopy full SHA for c2f1e3d
tests/suite/graceful_recovery_test.go
@@ -282,10 +282,10 @@ func checkContainerLogsForErrors(ngfPodName string) {
282
Expect(err).ToNot(HaveOccurred())
283
284
for _, line := range strings.Split(logs, "\n") {
285
- if *plusEnabled && strings.Contains(line, "[error]") {
+ if *plusEnabled && strings.Contains(line, "\"level\":\"error\"") {
286
Expect(line).To(ContainSubstring("Usage reporting must be enabled when using NGINX Plus"), line)
287
} else {
288
- Expect(line).ToNot(ContainSubstring("[error]"), line)
+ Expect(line).ToNot(ContainSubstring("\"level\":\"error\""), line)
289
}
290
291
0 commit comments