'Test whether the connector initiates properly'

def test_connector(self):

    conn = Connector(mongo_address=self.repl_set.uri, **connector_opts)
    conn.start()
    assert_soon((lambda : bool(conn.shard_set)))
    self.assertEqual(Version.from_client(self.repl_set.client()), get_mininum_mongodb_version())
    conn.join()
    self.assertFalse(conn.can_run)
    for thread in conn.shard_set.values():
        self.assertFalse(thread.running)
