Skip to content

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented Jan 1, 2025

The test is supposed to fail, because the timeout is too large. Thus we fix the test expectation, and also convert the test to use the CLI test server to not require online availability.


Given that this test case is basically a duplicate of gh16810.phpt (see #17314), but the latter is only available as of PHP-8.3, we should either drop gh15937.phpt in PHP-8.3 and above, or backport gh16810.phpt to PHP-8.2, and drop gh15937.phpt altogether.

The test is supposed to fail, because the timeout is too large.  Thus
we fix the test expectation, and also convert the test to use the CLI
test server to not require online availability.
@bukka
Copy link
Member

bukka commented Jan 1, 2025

Is the timeout actually fixed in 8.2? It's failing...

@cmb69
Copy link
Member Author

cmb69 commented Jan 1, 2025

Ah! The test without modifications actually passes on PHP-8.2, but fails as of PHP-8.3 (due to checking for large timeout values). So the best course of actions seems to make the test offline for PHP-8.2, but to drop it for PHP-8.3 and up.

@cmb69 cmb69 closed this in 919f198 Jan 1, 2025
@cmb69 cmb69 deleted the cmb/gh15937.phpt branch January 1, 2025 19:10
charmitro pushed a commit to wasix-org/php that referenced this pull request Mar 13, 2025
We convert the test to use the CLI test server to not require online
availability.

As of PHP 8.3, the test is supposed to fail, because the timeout is too
large.  Since exactly this scenario is already tested by gh16810.phpt,
we drop the test for PHP-8.3 and up.

Closes phpGH-17315.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants