mirror of
https://github.com/php/pecl-database-mysql_xdevapi.git
synced 2026-04-23 23:18:02 +02:00
8a336a279a
tests for: - session from client - session from client, then common session - validate pooling options
27 lines
491 B
PHP
27 lines
491 B
PHP
--TEST--
|
|
mysqlx create client with default options and explicit 'queueTimeOut'
|
|
--SKIPIF--
|
|
--INI--
|
|
error_reporting=E_ALL
|
|
default_socket_timeout=4
|
|
--FILE--
|
|
<?php
|
|
require_once(__DIR__."/../connect.inc");
|
|
require_once(__DIR__."/client_utils.inc");
|
|
|
|
$pooling_options = '{
|
|
"queueTimeOut": 500
|
|
}';
|
|
assert_client_session_with_options($pooling_options);
|
|
|
|
verify_expectations();
|
|
print "done!\n";
|
|
?>
|
|
--CLEAN--
|
|
<?php
|
|
require_once(__DIR__."/../connect.inc");
|
|
clean_test_db();
|
|
?>
|
|
--EXPECTF--
|
|
done!%A
|