| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
🦙 MegaLinter status: ⚠️ WARNING
See detailed report in MegaLinter reports |
Sorry, something went wrong.
|
Current status: Cronjob configuration works (tested manually), However no unit test have been implemented. Unit tests are implemented that use polling to test if the cronjob has started. This is slower by a maximum of 60 seconds and a minimum of 0 seconds. the slow test has the golang build tag "slow" and other/fast tests have the tag "fast". |
Sorry, something went wrong.
Signed-off-by: Ilyes Ben Dlala <ilyes.bendlala@iteratec.com>
Signed-off-by: Ilyes Ben Dlala <ilyes.bendlala@iteratec.com>
Signed-off-by: Ilyes Ben Dlala <ilyes.bendlala@iteratec.com>
Signed-off-by: Ilyes Ben Dlala <ilyes.bendlala@iteratec.com>
Signed-off-by: Ilyes Ben Dlala <ilyes.bendlala@iteratec.com>
Signed-off-by: Ilyes Ben Dlala <ilyes.bendlala@iteratec.com>
Signed-off-by: Ilyes Ben Dlala <ilyes.bendlala@iteratec.com>
Signed-off-by: Ilyes Ben Dlala <ilyes.bendlala@iteratec.com>
fakeClock can fake the passing of time Signed-off-by: Ilyes Ben Dlala <ilyes.bendlala@iteratec.com>
…ion is found and included the changes to FakeClock. It will be however later changed depending on the solution Signed-off-by: Ilyes Ben Dlala <ilyes.bendlala@iteratec.com>
Signed-off-by: Ilyes Ben Dlala <ilyes.bendlala@iteratec.com>
… Cron Schedule tests This minimizes how much the test is slowed down (slower by between 0 and 50 seconds) Signed-off-by: Ilyes Ben Dlala <ilyes.bendlala@iteratec.com>
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>
fast tests can be called by "make test-fast" and all tests will run when command "make test" is used. This is done to keep the CI workflow as usual Signed-off-by: Ilyes Ben Dlala <ilyes.bendlala@iteratec.com>
Signed-off-by: Ilyes Ben Dlala <ilyes.bendlala@iteratec.com>
Signed-off-by: Ilyes Ben Dlala <ilyes.bendlala@iteratec.com>
…of scheduledScan Signed-off-by: Ilyes Ben Dlala <ilyes.bendlala@iteratec.com>
Signed-off-by: Ilyes Ben Dlala <ilyes.bendlala@iteratec.com>
| Back | FazBrowse Home | New Git URL |
Description
closes #150
Current status: Cronjob configuration works (tested manually), However no unit test have been implemented. Unit tests are implemented that use polling to test if the cronjob has started. This is slower by a maximum of 60 seconds and a minimum of 0 seconds. the slow test has the golang build tag "slow" and other/fast tests have the tag "fast".
Calling make test runs all tests i.e "slow and fast"
Calling make test-fast runs only the tests with "fast" tag.
Checklist