[TEST] wait for no pending tasks so processed all mappings
This commit is contained in:
parent
536930c751
commit
4baf9df68e
|
@ -148,6 +148,7 @@ public class DisabledFieldDataFormatTests extends ElasticsearchIntegrationTest {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
waitNoPendingTasksOnAll();
|
||||||
logger.info(">> put mapping verified {}, applies {}", format, applied);
|
logger.info(">> put mapping verified {}, applies {}", format, applied);
|
||||||
if (!applied) {
|
if (!applied) {
|
||||||
fail();
|
fail();
|
||||||
|
|
|
@ -859,7 +859,7 @@ public abstract class ElasticsearchIntegrationTest extends ElasticsearchTestCase
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fail("failed to find mappings for index " + index + ", type " + type + " on master node[" + source + "]");
|
fail("failed to find mappings for index " + index + ", type " + type + ", fields " + fieldNames + ", on master node, mapping source [" + source + "]");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue