Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
thread-self
/
root
/
opt
/
php-8.3
/
share
/
test
/
mongodb
/
tests
/
manager
/
//proc/thread-self/root/opt/php-8.3/share/test/mongodb/tests/manager/manager-ctor-server.phpt
--TEST-- MongoDB\Driver\Manager::__construct(): check if server is live --FILE-- <?php require_once __DIR__ . "/../utils/basic.inc"; $manager = create_test_manager(); $command = new MongoDB\Driver\Command(['ping' => 1]); try { $manager->executeCommand("test", $command); } catch (\MongoDB\Driver\Exception\ConnectionException $e) { echo "Could not connect to MongoDB server: ", $e->getMessage(), "\n"; } ?> ===DONE=== --EXPECT-- ===DONE===