    @Test(enabled = false)
    public void testBasicVersionBasedReindexing() throws Exception {

        ActorStateUpdate update = createActorStateUpdateReindexing("1.0.0");
        when(update.getLifecycleStep()).thenReturn(ActorLifecycleStep.ACTIVATE);

        indexer.onUpdate(newArrayList(update));

        await()
                .atMost(Durations.ONE_MINUTE)
                .pollInterval(ONE_HUNDRED_MILLISECONDS)
                .until(() -> {
                    refreshIndices();
                    return client.prepareGet("test_index", "type_name", "1").execute().get().isExists();
                });

        // check index name is correctly created
        assertTrue(client.admin().indices().prepareExists("test_index_v1-0").execute().get().isExists());
    }