FAQ
uw Mon, 23 Jan 2012 16:52:29 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=322633

Log:
Fix test. TTL 2 seconds and sleep(2) - that's too close.

Changed paths:
U pecl/mysqlnd_qc/trunk/tests/mysqlnd_qc_ps_basics.phpt

Modified: pecl/mysqlnd_qc/trunk/tests/mysqlnd_qc_ps_basics.phpt
===================================================================
--- pecl/mysqlnd_qc/trunk/tests/mysqlnd_qc_ps_basics.phpt 2012-01-23 16:41:31 UTC (rev 322632)
+++ pecl/mysqlnd_qc/trunk/tests/mysqlnd_qc_ps_basics.phpt 2012-01-23 16:52:29 UTC (rev 322633)
@@ -11,6 +11,7 @@
apc.use_request_time=0
apc.slam_defense=0
mysqlnd_qc.ttl=4
+mysqlnd_qc.use_request_time=0
max_execution_time=60
--FILE--
<?php
@@ -88,9 +89,9 @@
var_dump($data);
var_dump($cached_data);
}
-
- sleep(2);
-
+
+ sleep(3);
+
$cached_data = run_test_query(50, $link, $sql, 1);
if (!empty($cached_data))
printf("[018] Data has not expired\n");

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppecl-cvs @
categoriesphp
postedJan 23, '12 at 4:52p
activeJan 23, '12 at 4:52p
posts1
users1
websitepecl.php.net

1 user in discussion

Ulf Wendel: 1 post

People

Translate

site design / logo © 2018 Grokbase