def test_resubmit_inflight(self):
        v = self.client.load_balanced_view()
        ar = v.apply_async(time.sleep,1)
        # give the message a chance to arrive
        time.sleep(0.2)
        self.assertRaisesRemote(ValueError, self.client.resubmit, ar.msg_ids)
        ar.get(2)
Update config for shards
dataset/ETHPy150Open ipython/ipython-py3k/IPython/parallel/tests/test_client.py/TestClient.test_resubmit_inflight--crossover with--dataset/ETHPy150Open taherh/pysimsearch/pysimsearch/sim_index/sim_index_collection.py/SimIndexCollection.update_config