Skip to content

Commit

Permalink
Merge pull request ComplianceAsCode#522 from rhmdnd/lower-e2e-scan-ti…
Browse files Browse the repository at this point in the history
…meout

Reduce timeout from 30 minutes to 10 minutes in serial tests
  • Loading branch information
openshift-merge-bot[bot] authored May 23, 2024
2 parents f679111 + 6e00b6c commit fb3a0c3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/e2e/serial/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit fb3a0c3

Please sign in to comment.