Location: PHPKode > projects > MongoDB PHP Driver > mongodb-mongo-php-driver-bdd27db/tests/generic/skipif_mongos.inc
<?php
require_once dirname(__FILE__) . '/skipif.inc';

$status = $m->selectDB('phpunit')->command(array('serverStatus' => 1));

if ('mongos' === $status['process']) {
    die('skip This test is not compatible with mongos');
}
Return current item: MongoDB PHP Driver