def test_random_get(self):
        get_ = self.mc.get
        set_ = self.mc.set

        value = "chenyin"

        def test():
            index = 0
            for key in self.random_keys:
                result = get_(key)
                index += 1
                if(index % 5 == 0):
                    set_(key, value)
        run_test(test, 'test_random_get')
dataset/ETHPy150Open douban/python-libmemcached/benchmark.py/Benchmark.test_random_get/original