We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7001387 commit 8cd2111Copy full SHA for 8cd2111
tests/atlas.phpt
@@ -10,7 +10,7 @@ if (getenv('TESTS') !== 'tests/atlas.phpt') { echo "skip Atlas tests not wanted\
10
<?php
11
$urls = explode("\n", file_get_contents('.evergreen/atlas-uris.txt'));
12
13
-$isMasterCmd = new \MongoDB\Driver\Command(['isMaster' => 1]);
+$command = new \MongoDB\Driver\Command(['ping' => 1]);
14
$query = new \MongoDB\Driver\Query([]);
15
16
foreach ($urls as $url) {
@@ -21,7 +21,7 @@ foreach ($urls as $url) {
21
22
try {
23
$m = new \MongoDB\Driver\Manager($url);
24
- $m->executeCommand('admin', $isMasterCmd);
+ $m->executeCommand('admin', $command);
25
iterator_to_array($m->executeQuery('test.test', $query));
26
echo "PASS\n";
27
} catch(Exception $e) {
0 commit comments