def test_connect_to_either_namenode_ok(self):
        """ Test connecting OK to first of name node URLs. """
        self.assertIsNotNone(self.suj.connect_to_either_namenode(self.NAMENODES))
        self.assertEqual(0, self.suj.connect_attempted(HC.DEFAULT_NN))
        self.assertEqual(1, self.suj.connect_attempted(HC.WARP_TURTLE_NN1))
        self.assertEqual(0, self.suj.connect_attempted(HC.WARP_TURTLE_NN2))
        self.assertEqual(0, self.suj.connect_attempted(HC.WARP_TURTLE_NN3))
 Test connecting OK to first of name node URLs. 
petastorm/hdfs/tests/test_hdfs_namenode.py