def METHOD_NAME(self):
    alloc = 'require'
    self.write_config(self.args['configfile'], testvars.client_config.format(HOST))
    self.write_config(self.args['actionfile'], testvars.allocation_test.format(KEY, VALUE, alloc, False))
    idx1, idx2 = ('my_index', 'not_my_index')
    self.create_index(idx1)
    self.create_index(idx2)
    self.invoke_runner()
    assert VALUE == self.client.indices.get_settings(index=idx1)[idx1]['settings']['index']['routing']['allocation'][alloc][KEY]
    assert TIEREDROUTING == self.client.indices.get_settings(index=idx2)[idx2]['settings']['index']['routing']