Skip to content

Commit 15e1450

Browse files
committed
Mark test as manual, and add docs
1 parent fec7488 commit 15e1450

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

tests/connect/bug1015.phpt

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,22 @@
22
PHPC-1015: Initial DNS Seedlist test
33
--SKIPIF--
44
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
5+
<?php echo "skip Manual test, as it needs configuration\n"; ?>
56
<?php NEEDS('REPLICASET_DNS'); ?>
67
--FILE--
78
<?php
8-
9+
/**
10+
* This test requires additional configuration, and hence is not enabled by
11+
* default. In order for this test to succeed, you need the following line in
12+
* /etc/hosts:
13+
*
14+
* 192.168.112.10 localhost.test.build.10gen.cc
15+
*
16+
* The IP address needs to match the IP address that your vagrant environment
17+
* has created. The IP address is shown when you run "make start-servers".
18+
*/
919
require_once __DIR__ . "/../utils/basic.inc";
1020

11-
// STANDALONE does not support auth, but that is not necessary for the test
1221
$m = new MongoDB\Driver\Manager("mongodb+srv://test1.test.build.10gen.cc/");
1322
$s = $m->selectServer( new MongoDB\Driver\ReadPreference(MongoDB\Driver\ReadPreference::RP_NEAREST ) );
1423
$servers = $m->getServers();

0 commit comments

Comments
 (0)