File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 2
2
PHPC-1015: Initial DNS Seedlist test
3
3
--SKIPIF--
4
4
<?php require __DIR__ . "/../utils/basic-skipif.inc " ; ?>
5
+ <?php echo "skip Manual test, as it needs configuration \n" ; ?>
5
6
<?php NEEDS ('REPLICASET_DNS ' ); ?>
6
7
--FILE--
7
8
<?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
+ */
9
19
require_once __DIR__ . "/../utils/basic.inc " ;
10
20
11
- // STANDALONE does not support auth, but that is not necessary for the test
12
21
$ m = new MongoDB \Driver \Manager ("mongodb+srv://test1.test.build.10gen.cc/ " );
13
22
$ s = $ m ->selectServer ( new MongoDB \Driver \ReadPreference (MongoDB \Driver \ReadPreference::RP_NEAREST ) );
14
23
$ servers = $ m ->getServers ();
You can’t perform that action at this time.
0 commit comments