Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow non-200 connections when waiting for server for tests. #1798

Merged
merged 1 commit into from
Jul 13, 2017

Conversation

danepowell
Copy link
Contributor

Currently when running Behat tests using the built-in php server (the default test setup), BLT waits for a 200 connection before proceeding with tests.

The problem is that not all sites will return a 200 on the homepage, such as Reservoir-based installs that return a 403.

It seems that BLT should accept any connection except for one that might indicate the server is still starting (i.e. 50x).

@danepowell danepowell force-pushed the feature/run-server-response branch from f0df150 to c815d20 Compare July 13, 2017 20:22
@danepowell danepowell force-pushed the feature/run-server-response branch from c815d20 to 47db1fa Compare July 13, 2017 20:25
@grasmash grasmash merged commit 5036a77 into acquia:8.x Jul 13, 2017
@danepowell danepowell deleted the feature/run-server-response branch December 6, 2017 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants