Skip to content

Commit

Permalink
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions internal/test/logentries/pause_events.go
Original file line number Diff line number Diff line change
@@ -48,7 +48,7 @@ func GenerateCreateNotPausedLogEntries(ec EntryCriteria) []gomega.LogMatcher {
ec.ClusterName,
"msg",
"Cluster is not paused, allowing further processing",
).WithLevel(4).WithLogFunc("Info")
).WithLevel(6).WithLogFunc("Info")
}

clusterEntries := make([]gomega.LogMatcher, len(ec.ClusterControllers))
@@ -69,7 +69,7 @@ func GenerateCreateNotPausedLogEntries(ec EntryCriteria) []gomega.LogMatcher {
ec.ClusterName,
"msg",
"Cluster is not paused, allowing further processing",
).WithLevel(4).WithLogFunc("Info")
).WithLevel(6).WithLogFunc("Info")
}
return append(clusterEntries, infraEntries...)
}
@@ -93,7 +93,7 @@ func GenerateUpdatePausedClusterLogEntries(ec EntryCriteria) []gomega.LogMatcher
ec.ClusterName,
"msg",
"Cluster was not unpaused, blocking further processing",
).WithLevel(4).WithLogFunc("Info")
).WithLevel(6).WithLogFunc("Info")
}

clusterEntries := make([]gomega.LogMatcher, len(ec.ClusterControllers))
@@ -114,7 +114,7 @@ func GenerateUpdatePausedClusterLogEntries(ec EntryCriteria) []gomega.LogMatcher
ec.ClusterName,
"msg",
"Cluster was not unpaused, blocking further processing",
).WithLevel(4).WithLogFunc("Info")
).WithLevel(6).WithLogFunc("Info")
}
return append(clusterEntries, infraEntries...)
}
2 changes: 1 addition & 1 deletion internal/test/matchers/gomega/matchers_test.go
Original file line number Diff line number Diff line change
@@ -123,7 +123,7 @@ func TestLogContainsEntries(t *testing.T) {
"Cluster is not paused, allowing further processing",
},
LogFunc: "Error",
Level: 4,
Level: 6,
},
}

0 comments on commit 76853c9

Please sign in to comment.