-
Bug
-
Resolution: Fixed
-
Major
-
3.2
-
MOODLE_32_STABLE
-
MOODLE_32_STABLE
-
wip-mdl-55986
-
Hi,
I was trying to prepare some new Windows boxes (VMs) here for testing and have detected some incorrect behaviors that I think were not present some months ago. Here are the details:
0) Install a parallel=2 environment: php admin/tool/behat/cli/init.php --parallel=2
1) PROBEM1: Multiple tags combination not working:
- If I execute php admin/tool/behat/cli/run.php --tags='@mod_assign&&~@javascript' I get No scenarios/no steps.
- In Mac, I get 2 scenarios executed (have not confirmed if that's correct).
- Reproducible both under CMD and git bash in Windows.
2) PROBLEM 2: Progress outputs nothing:
- If I execute php admin/tool/behat/cli/run.php --tags='~@javascript' the processes are launched (I can see apache/database/php working) but nothing is shown on screen. Neither run information, neither progress dots. At the end (2h later) the errors and the final summary is shown, but not the progress info.
- In Mac, I get 2XX scenarios executed and progress show correctly.
- Reproducible with git bash.
- With CMD I get the same behavior than problem 1, aka, "No scenarios".
So, something is behaving badly. Just guessing if it maybe caused by all the recent changes affecting DIRECTORY_SEPARATOR, PHP_EOL and similar stuff. But right now those parallel runs in Windows are not reliable.
Note I've not been able to confirm the behavior in previous versions, still I don't have my environment here ready for that.
Ciao