Skip tests searching security signals
They prove to be unreliable against the real API for now.
@@ -189,6 +189,10 @@ func TestSearchSecurityMonitoringSignals(t *testing.T) {
client := Client(ctx)
api := client.SecurityMonitoringApi
+ if tests.GetRecording() == tests.ModeIgnore {
+ t.Skipf("Unreliable test")
+ }
+
now := tests.ClockFromContext(ctx).Now()
uniqueName := tests.UniqueEntityName(ctx, t)
@@ -284,6 +288,10 @@ func TestListSecurityMonitoringSignals(t *testing.T) {
client := Client(ctx)
api := client.SecurityMonitoringApi
+ if tests.GetRecording() == tests.ModeIgnore {
+ t.Skipf("Unreliable test")
+ }
+
now := tests.ClockFromContext(ctx).Now()
uniqueName := tests.UniqueEntityName(ctx, t)
