Skip to content

Increase wait time in timeout_variation_9.phpt #2359

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

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tests/basic/timeout_variation_9.phpt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
--TEST--
Timeout within shutdown function
--CREDITS--
Copy link
Member

Choose a reason for hiding this comment

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

You didn't write this test: If every tiny change of a test lead to someone entering their names in credits section, all tests would soon become unmanageable.

Rodrigo Prado de Jesus <royopa [at] gmail [dot] com>
--SKIPIF--
<?php
if (getenv("SKIP_SLOW_TESTS")) die("skip slow test");
Expand All @@ -14,7 +16,7 @@ set_time_limit($t);
function f()
{
echo "call";
busy_wait(4);
busy_wait(5);
}

register_shutdown_function("f");
Expand Down