uawdijnntqw1x1x1
IP : 18.216.161.178
Hostname : host45.registrar-servers.com
Kernel : Linux host45.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
..
/
.
/
.
/
..
/
.
/
opt
/
alt
/
tests
/
alt-php80-pecl-mongodb_1.18.1-1.el8
/
tests
/
manager-ctor-ssl-003.phpt
/
/
--TEST-- MongoDB\Driver\Manager::__construct(): Specifying a driver option implicitly enables TLS --SKIPIF-- <?php require __DIR__ . "/../utils/basic-skipif.inc"; ?> <?php skip_if_not_libmongoc_ssl(['OpenSSL', 'LibreSSL']); ?> <?php skip_if_ssl(); ?> <?php skip_if_not_live(); ?> --FILE-- <?php require_once __DIR__ . "/../utils/basic.inc"; // Ensure that the server is up to ensure we're not hitting a different failure below $manager = create_test_manager(); $manager->executeCommand(DATABASE_NAME, new MongoDB\Driver\Command(['ping' => 1])); $manager = create_test_manager(URI, [], ['ca_dir' => 'foo']); throws(function () use ($manager) { // Note that this command will not fail if the server was configured with allowSSL or preferSSL for net.ssl.mode. $manager->executeCommand(DATABASE_NAME, new MongoDB\Driver\Command(['ping' => true])); }, MongoDB\Driver\Exception\ConnectionException::class); ?> ===DONE=== --EXPECTF-- OK: Got MongoDB\Driver\Exception\ConnectionException ===DONE===
/home/../././.././opt/alt/tests/alt-php80-pecl-mongodb_1.18.1-1.el8/tests/manager-ctor-ssl-003.phpt