Skip to content
Snippets Groups Projects
Commit d5c7e4a692d7 authored by Boris Feld's avatar Boris Feld
Browse files

Add a scheduler test for bisect action with full test name

It would currently fails in production as test name needs to be escaped as
they are used as regex.
parent c92ab4a6df85
No related branches found
No related tags found
No related merge requests found
......@@ -95,3 +95,32 @@
Scheduler should exit and the TASKS file should be now empty
$ cat TASKS
Test scheduler bisect task with full test name
$ cat << EOF >> TASKS
> BISECT tip..tip~2 basic_commands.TimeTestSuite.time_manifest_all('mercurial-2018-08-01')
> EXIT
> EOF
$ python $TESTDIR/../scheduler.py TASKS
Bisecting test script tip..tip~2 basic_commands.TimeTestSuite.time_manifest_all(mercurial-2018-08-01)
================================================================================
Got task 'BISECT' "tip..tip~2 basic_commands.TimeTestSuite.time_manifest_all('mercurial-2018-08-01')"
Bisecting ['*/scripts/scheduler-test-bisect-script-success', 'tip..tip~2', 'basic_commands.TimeTestSuite.time_manifest_all(mercurial-2018-08-01)'] (glob)
Removed task "BISECT tip..tip~2 basic_commands.TimeTestSuite.time_manifest_all('mercurial-2018-08-01')"
================================================================================
================================================================================
Got task 'EXIT' None
Removed task 'EXIT'
================================================================================
Scheduler should exit and the TASKS file should be now empty
$ cat TASKS
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment