Linux vmi2545633.contaboserver.net 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64
Apache/2.4.62 (Debian)
Server IP : 127.0.0.1 & Your IP : 127.0.0.1
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
php /
tests /
mongodb /
tests /
standalone /
Delete
Unzip
Name
Size
Permission
Date
Action
bug0231.phpt
786
B
-rw-r--r--
2025-04-09 02:56
bug0357.phpt
600
B
-rw-r--r--
2025-04-09 02:56
bug0545.phpt
3.17
KB
-rw-r--r--
2025-04-09 02:56
bug0655.phpt
1.07
KB
-rw-r--r--
2025-04-09 02:56
command-aggregate-001.phpt
960
B
-rw-r--r--
2025-04-09 02:56
connectiontimeoutexception-001.phpt
1019
B
-rw-r--r--
2025-04-09 02:56
executiontimeoutexception-001.phpt
986
B
-rw-r--r--
2025-04-09 02:56
executiontimeoutexception-002.phpt
964
B
-rw-r--r--
2025-04-09 02:56
manager-as-singleton.phpt
1.46
KB
-rw-r--r--
2025-04-09 02:56
query-errors.phpt
1.22
KB
-rw-r--r--
2025-04-09 02:56
update-multi-001.phpt
4.91
KB
-rw-r--r--
2025-04-09 02:56
write-error-001.phpt
938
B
-rw-r--r--
2025-04-09 02:56
writeresult-isacknowledged-001.phpt
1
KB
-rw-r--r--
2025-04-09 02:56
writeresult-isacknowledged-002.phpt
1.16
KB
-rw-r--r--
2025-04-09 02:56
writeresult-isacknowledged-003.phpt
1.07
KB
-rw-r--r--
2025-04-09 02:56
Save
Rename
--TEST-- PHPC-655: Use case insensitive parsing for Manager connectTimeoutMS array option --FILE-- <?php require_once __DIR__ . "/../utils/basic.inc"; $command = new MongoDB\Driver\Command(['ping' => 1]); // Invalid host cannot be resolved $manager = create_test_manager('mongodb://example.invalid:27017', ['connectTimeoutMS' => 1]); echo throws(function() use ($manager, $command) { $manager->executeCommand(DATABASE_NAME, $command); }, 'MongoDB\Driver\Exception\ConnectionTimeoutException'), "\n"; // Valid host refuses connection $manager = create_test_manager('mongodb://localhost:54321', ['CONNECTTIMEOUTMS' => 1]); echo throws(function() use ($manager, $command) { $manager->executeCommand(DATABASE_NAME, $command); }, 'MongoDB\Driver\Exception\ConnectionTimeoutException'), "\n"; ?> ===DONE=== <?php exit(0); ?> --EXPECTF-- OK: Got MongoDB\Driver\Exception\ConnectionTimeoutException No suitable servers found (`serverSelectionTryOnce` set): %s OK: Got MongoDB\Driver\Exception\ConnectionTimeoutException No suitable servers found (`serverSelectionTryOnce` set): %s ===DONE===