Skip to content

Increase wait time in timeout_variation_9.phpt - #2359

Closed
royopa wants to merge 2 commits into
php:masterfrom
royopa:patch-7
Closed

royopa wants to merge 2 commits into
php:masterfrom
royopa:patch-7

Conversation

@royopa

@royopa royopa commented Feb 1, 2017 •

Copy link
Copy Markdown
Contributor

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
Comment thread tests/basic/timeout_variation_9.phpt Outdated
@@ -1,5 +1,7 @@
--TEST--
Timeout within shutdown function
--CREDITS--

Copy link
Copy Markdown
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

royopa commented Feb 2, 2017 via email

Copy link
Copy Markdown
Contributor Author

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

royopa commented Feb 2, 2017

Copy link
Copy Markdown
Contributor Author

@krakjoe Done! Thanks for feedback.

@krakjoe

krakjoe commented Feb 3, 2017

Copy link
Copy Markdown
Member

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