Skip to content

Sleep more #30

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

Merged
merged 2 commits into from
Jul 8, 2017
Merged

Sleep more #30

merged 2 commits into from
Jul 8, 2017

Conversation

Nyholm
Copy link
Member

@Nyholm Nyholm commented Jul 7, 2017

The tests randomly fails time to time trying to increase the the sleep time

@@ -13,7 +13,7 @@ public function startServer($name)
$filename = __DIR__ . '/server/' . $name . '.php';
$pipes = [];
$this->servers[$name] = proc_open('php '. $filename, [], $pipes);
usleep(30000);
usleep(300000);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we can try to connect and sleep between connection and give the hand when the first connection was good ?

The tests randomly fails time to time trying to increase the the sleep time
@Nyholm
Copy link
Member Author

Nyholm commented Jul 7, 2017

Thank you for the review. I made a last attempt now. I think the tests will pass. Feel free to merge if so

@joelwurtz joelwurtz merged commit b40ab7a into master Jul 8, 2017
@joelwurtz joelwurtz deleted the Nyholm-patch-1 branch July 8, 2017 12:10
@joelwurtz
Copy link
Member

Thanks, your semaphore name give me another idea if tests are still randomly fail

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