diff --git a/tests/e2e/serial/main_test.go b/tests/e2e/serial/main_test.go index 62ec9992a..d61a1aef9 100644 --- a/tests/e2e/serial/main_test.go +++ b/tests/e2e/serial/main_test.go @@ -369,6 +369,9 @@ func TestMixProductScan(t *testing.T) { Schedule: "0 1 * * *", Suspend: false, }, + ComplianceScanSettings: compv1alpha1.ComplianceScanSettings{ + Timeout: "10m", + }, Roles: []string{"master", "worker"}, } if err := f.Client.Create(context.TODO(), &scanSetting, nil); err != nil { @@ -1626,6 +1629,9 @@ func TestSuspendScanSetting(t *testing.T) { Schedule: "0 1 * * *", Suspend: false, }, + ComplianceScanSettings: compv1alpha1.ComplianceScanSettings{ + Timeout: "10m", + }, Roles: []string{"master", "worker"}, } if err := f.Client.Create(context.TODO(), &scanSetting, nil); err != nil { @@ -1862,6 +1868,9 @@ func TestSuspendScanSettingDoesNotCreateScan(t *testing.T) { Schedule: "0 1 * * *", Suspend: true, }, + ComplianceScanSettings: compv1alpha1.ComplianceScanSettings{ + Timeout: "10m", + }, Roles: []string{"master", "worker"}, } if err := f.Client.Create(context.TODO(), &scanSetting, nil); err != nil {