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

Increase wait time in timeout_variation_9.phpt #2359

wants to merge 2 commits into from

Conversation

royopa
Copy link
Contributor

@royopa royopa commented Feb 1, 2017

TEST before change

=====================================================================
PHP         : /home/vagrant/php-src/sapi/cli/php 
PHP_SAPI    : cli
PHP_VERSION : 7.2.0-dev
ZEND_VERSION: 3.2.0-dev
PHP_OS      : Linux - Linux lubunut32 3.13.0-36-generic #63-Ubuntu SMP Wed Sep 3 21:30:45 UTC 2014 i686
INI actual  : /home/vagrant/php-src/tmp-php.ini
More .INIs  :   
---------------------------------------------------------------------
PHP         : /home/vagrant/php-src/sapi/phpdbg/phpdbg 
PHP_SAPI    : phpdbg
PHP_VERSION : 7.2.0-dev
ZEND_VERSION: 3.2.0-dev
PHP_OS      : Linux - Linux lubunut32 3.13.0-36-generic #63-Ubuntu SMP Wed Sep 3 21:30:45 UTC 2014 i686
INI actual  : /home/vagrant/php-src/tmp-php.ini
More .INIs  : 
---------------------------------------------------------------------
CWD         : /home/vagrant/php-src
Extra dirs  : 
VALGRIND    : Not used
=====================================================================
Running selected tests.
TEST 1/1 [tests/basic/timeout_variation_9.phpt]
FAIL Timeout within shutdown function [tests/basic/timeout_variation_9.phpt] 
=====================================================================
Number of tests :    1                 1
Tests skipped   :    0 (  0.0%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :    1 (100.0%) (100.0%)
Expected fail   :    0 (  0.0%) (  0.0%)
Tests passed    :    0 (  0.0%) (  0.0%)
---------------------------------------------------------------------
Time taken      :    4 seconds
=====================================================================

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Timeout within shutdown function [tests/basic/timeout_variation_9.phpt]
=====================================================================

TEST AFTER change

=====================================================================
PHP         : /home/vagrant/php-src/sapi/cli/php 
PHP_SAPI    : cli
PHP_VERSION : 7.2.0-dev
ZEND_VERSION: 3.2.0-dev
PHP_OS      : Linux - Linux lubunut32 3.13.0-36-generic #63-Ubuntu SMP Wed Sep 3 21:30:45 UTC 2014 i686
INI actual  : /home/vagrant/php-src/tmp-php.ini
More .INIs  :   
---------------------------------------------------------------------
PHP         : /home/vagrant/php-src/sapi/phpdbg/phpdbg 
PHP_SAPI    : phpdbg
PHP_VERSION : 7.2.0-dev
ZEND_VERSION: 3.2.0-dev
PHP_OS      : Linux - Linux lubunut32 3.13.0-36-generic #63-Ubuntu SMP Wed Sep 3 21:30:45 UTC 2014 i686
INI actual  : /home/vagrant/php-src/tmp-php.ini
More .INIs  : 
---------------------------------------------------------------------
CWD         : /home/vagrant/php-src
Extra dirs  : 
VALGRIND    : Not used
=====================================================================
Running selected tests.
TEST 1/1 [tests/basic/timeout_variation_9.phpt]
PASS Timeout within shutdown function [tests/basic/timeout_variation_9.phpt] 
=====================================================================
Number of tests :    1                 1
Tests skipped   :    0 (  0.0%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :    0 (  0.0%) (  0.0%)
Expected fail   :    0 (  0.0%) (  0.0%)
Tests passed    :    1 (100.0%) (100.0%)
---------------------------------------------------------------------
Time taken      :    5 seconds
=====================================================================

TEST after change

=====================================================================
PHP         : /home/vagrant/php-src/sapi/cli/php 
PHP_SAPI    : cli
PHP_VERSION : 7.2.0-dev
ZEND_VERSION: 3.2.0-dev
PHP_OS      : Linux - Linux lubunut32 3.13.0-36-generic #63-Ubuntu SMP Wed Sep 3 21:30:45 UTC 2014 i686
INI actual  : /home/vagrant/php-src/tmp-php.ini
More .INIs  :   
---------------------------------------------------------------------
PHP         : /home/vagrant/php-src/sapi/phpdbg/phpdbg 
PHP_SAPI    : phpdbg
PHP_VERSION : 7.2.0-dev
ZEND_VERSION: 3.2.0-dev
PHP_OS      : Linux - Linux lubunut32 3.13.0-36-generic #63-Ubuntu SMP Wed Sep 3 21:30:45 UTC 2014 i686
INI actual  : /home/vagrant/php-src/tmp-php.ini
More .INIs  : 
---------------------------------------------------------------------
CWD         : /home/vagrant/php-src
Extra dirs  : 
VALGRIND    : Not used
=====================================================================
Running selected tests.
TEST 1/1 [tests/basic/timeout_variation_9.phpt]
FAIL Timeout within shutdown function [tests/basic/timeout_variation_9.phpt] 
=====================================================================
Number of tests :    1                 1
Tests skipped   :    0 (  0.0%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :    1 (100.0%) (100.0%)
Expected fail   :    0 (  0.0%) (  0.0%)
Tests passed    :    0 (  0.0%) (  0.0%)
---------------------------------------------------------------------
Time taken      :    4 seconds
=====================================================================

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Timeout within shutdown function [tests/basic/timeout_variation_9.phpt]
=====================================================================

TEST BEFORE change
=====================================================================
PHP         : /home/vagrant/php-src/sapi/cli/php 
PHP_SAPI    : cli
PHP_VERSION : 7.2.0-dev
ZEND_VERSION: 3.2.0-dev
PHP_OS      : Linux - Linux lubunut32 3.13.0-36-generic #63-Ubuntu SMP Wed Sep 3 21:30:45 UTC 2014 i686
INI actual  : /home/vagrant/php-src/tmp-php.ini
More .INIs  :   
---------------------------------------------------------------------
PHP         : /home/vagrant/php-src/sapi/phpdbg/phpdbg 
PHP_SAPI    : phpdbg
PHP_VERSION : 7.2.0-dev
ZEND_VERSION: 3.2.0-dev
PHP_OS      : Linux - Linux lubunut32 3.13.0-36-generic #63-Ubuntu SMP Wed Sep 3 21:30:45 UTC 2014 i686
INI actual  : /home/vagrant/php-src/tmp-php.ini
More .INIs  : 
---------------------------------------------------------------------
CWD         : /home/vagrant/php-src
Extra dirs  : 
VALGRIND    : Not used
=====================================================================
Running selected tests.
TEST 1/1 [tests/basic/timeout_variation_9.phpt]
PASS Timeout within shutdown function [tests/basic/timeout_variation_9.phpt] 
=====================================================================
Number of tests :    1                 1
Tests skipped   :    0 (  0.0%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :    0 (  0.0%) (  0.0%)
Expected fail   :    0 (  0.0%) (  0.0%)
Tests passed    :    1 (100.0%) (100.0%)
---------------------------------------------------------------------
Time taken      :    5 seconds
=====================================================================
@krakjoe krakjoe changed the title Updated test to PASS - increase 1 second to wait Increase wait time in timeout_variation_9.phpt Feb 2, 2017
@@ -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.

@royopa
Copy link
Contributor Author

royopa commented Feb 2, 2017 via email

Removed CREDITS tag, because I did not write this test, I only made a small adjust.
@royopa
Copy link
Contributor Author

royopa commented Feb 2, 2017

@krakjoe Done! Thanks for feedback.

@krakjoe
Copy link
Member

krakjoe commented Feb 3, 2017

Merged 0b56ba5

Thanks.

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