def test_3(self):
        from aerospike import predicates as p
        global count

        for i in range(2):
            key = ('test', 'unittest', i)
            rec = {
                'name': 'name%s' % (str(i)),
                'addr': 'name%s' % (str(i)),
                'age': i,
                'no': i
            }
            self.client.put(key, rec)

        self.client.index_integer_create('test', 'unittest', 'age',
                                         'age_index', {})

        query = self.client.query('test', 'unittest')

        query.select("name", "age")
        count = 0
        query.where(p.between('age', 1, 3))

        query.foreach(count_records_false)

        self.assertEqual(count, 1, "foreach failed")

        for i in range(2):
            key = ('test', 'unittest', i)
            self.client.remove(key)

        self.client.index_remove('test', 'age_index', {})
Override this method so that it flushes the vtk pipeline if
dataset/ETHPy150Open aerospike/aerospike-client-python/test/old_tests/test_kv.py/KVTestCase.test_3--crossover with--dataset/ETHPy150Open enthought/mayavi/mayavi/modules/glyph.py/Glyph.update_data