Skip to content

Commit 1247842

Browse files
committed
Fix bug with disable-monitor
1 parent aebf0a6 commit 1247842

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pkg/cmd/openshift-tests/monitor/run/run_monitor_command.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,15 +183,12 @@ func (o *RunMonitorOptions) Run() error {
183183
}()
184184
signal.Notify(abortCh, syscall.SIGINT, syscall.SIGTERM)
185185

186-
monitorTestInfo := monitortestframework.MonitorTestInitializationInfo{
187-
ClusterStabilityDuringTest: monitortestframework.Stable,
188-
}
189186
recorder := monitor.WrapWithJSONLRecorder(monitor.NewRecorder(), o.Out, o.DisplayFilterFn)
190187
m := monitor.NewMonitor(
191188
recorder,
192189
restConfig,
193190
o.ArtifactDir,
194-
defaultmonitortests.NewMonitorTestsFor(monitorTestInfo),
191+
o.MonitorTests,
195192
)
196193
if err := m.Start(ctx); err != nil {
197194
return err

0 commit comments

Comments
 (0)