Skip to content

Commit

Permalink
Merge pull request #129 from andrewnicols/MDL-82782-2
Browse files Browse the repository at this point in the history
  MDL-82782: Correct scale windows environment specification
  • Loading branch information
junpataleta authored Aug 15, 2024
2 parents 631c18a + 2490cc1 commit 8c451a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runner/main/jobtypes/behat/behat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ function behat_run_normal() { # Run the job type.
echo "Running: ${reruncmd[*]}"

# And run it.
if ! docker exec -t -u www-data "${WEBSERVER}" "${reruncmd[@]}"; then
if ! docker exec -t -u www-data -e WINDOWSCALE=1.5 "${WEBSERVER}" "${reruncmd[@]}"; then
# Rerun failed, let's feed the exit code again.
EXITCODE=$((EXITCODE + processmask))
fi
Expand Down Expand Up @@ -527,7 +527,7 @@ function behat_rerun_command() {
# and, also, it automatically handles the file system links for the web server.
# (output is a little bit uglier, but consistent with the main run).
_reruncmd=(
WINDOWSCALE=1.5 php admin/tool/behat/cli/run.php --rerun
php admin/tool/behat/cli/run.php --rerun
)

# Add the config, options and profile.
Expand Down

0 comments on commit 8c451a0

Please sign in to comment.