Permalink
Browse files

Mark test as manual, and add docs

  • Loading branch information...
derickr committed Dec 4, 2017
1 parent fec7488 commit 15e1450dac1faee79eb71e87207f72f797b767d1
Showing with 11 additions and 2 deletions.
  1. +11 −2 tests/connect/bug1015.phpt
View
@@ -2,13 +2,22 @@
PHPC-1015: Initial DNS Seedlist test
--SKIPIF--
<?php require __DIR__ . "/../utils/basic-skipif.inc"; ?>
<?php echo "skip Manual test, as it needs configuration\n"; ?>
<?php NEEDS('REPLICASET_DNS'); ?>
--FILE--
<?php
/**
* This test requires additional configuration, and hence is not enabled by
* default. In order for this test to succeed, you need the following line in
* /etc/hosts:
*
* 192.168.112.10 localhost.test.build.10gen.cc
*
* The IP address needs to match the IP address that your vagrant environment
* has created. The IP address is shown when you run "make start-servers".
*/
require_once __DIR__ . "/../utils/basic.inc";
// STANDALONE does not support auth, but that is not necessary for the test
$m = new MongoDB\Driver\Manager("mongodb+srv://test1.test.build.10gen.cc/");
$s = $m->selectServer( new MongoDB\Driver\ReadPreference(MongoDB\Driver\ReadPreference::RP_NEAREST ) );
$servers = $m->getServers();

0 comments on commit 15e1450

Please sign in to comment.