Skip to content

Commit 333fa67

Browse files
committed
#150 Increased the timeout for the scheduledScan Cronjob test
This is done to make sure that any edge cases do not fail the tests we still expect to be a maximum 60s Signed-off-by: Ilyes Ben Dlala <ilyes.bendlala@iteratec.com>
1 parent 5ebb84a commit 333fa67

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

operator/controllers/execution/scheduledscan_controller_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ var _ = Describe("ScheduledScan controller", func() {
118118
var scanlist executionv1.ScanList
119119

120120
// ensure that the ScheduledScan has been triggered
121-
waitForScheduledScanToBeTriggered(ctx, namespace, 61*time.Second)
121+
waitForScheduledScanToBeTriggered(ctx, namespace, 90*time.Second)
122122
k8sClient.List(ctx, &scanlist, client.InNamespace(namespace))
123123

124124
Expect(scheduledScan.Spec.Schedule).Should(Equal("*/1 * * * *"))

0 commit comments

Comments
 (0)