Skip to content

Commit

Permalink
Merge pull request #107 from lbajsarowicz/develop
Browse files Browse the repository at this point in the history
FIX: Timeout running MFTF tests
  • Loading branch information
davidalger authored Feb 25, 2020
2 parents e7eb3bd + 98d71a6 commit de2b2c0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

* Updated environment path (`WARDEN_ENV_PATH` in scripts) to use physical vs logical current working directory to resolve issues with using symlinked file paths (issue [#101](https://github.com/davidalger/warden/issues/101))
* Removed confusingly quoted placeholder values related to Blackfire from env file generated by `env-init`
* Removed timeout for Selenium Hub, increased timeout for MFTF's `command.php` endpoint to 10 minutes

## Version [0.2.3](https://github.com/davidalger/warden/tree/0.2.3) (2020-02-14)
[All Commits](https://github.com/davidalger/warden/compare/0.2.2..0.2.3)
Expand Down
3 changes: 3 additions & 0 deletions environments/magento2.selenium.base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ services:
container_name: ${WARDEN_ENV_NAME}_selenium-hub
hostname: selenium-hub
image: selenium/hub:3.8.1
environment:
GRID_TIMEOUT: 0
GRID_BROWSER_TIMEOUT: 0
networks:
- warden
- default
Expand Down
3 changes: 3 additions & 0 deletions images/nginx/context/etc/nginx/available.d/magento2.conf
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,14 @@ location /media/import/ {
location ~* ^/dev/tests/acceptance/utils($|/) {
root $MAGE_ROOT;

# This endpoint runs `bin/magento` CLI, be aware that it needs more time to finish
location ~ ^/dev/tests/acceptance/utils/command.php {
fastcgi_pass $fastcgi_backend;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_read_timeout 600s;
fastcgi_connect_timeout 600s;
include fastcgi_params;
}
}
Expand Down

0 comments on commit de2b2c0

Please sign in to comment.