[TEST] wait for no pending tasks so processed all mappings

This commit is contained in:
Shay Banon 2014-07-05 11:22:51 +02:00
parent 536930c751
commit 4baf9df68e
2 changed files with 2 additions and 1 deletions

View File

@ -148,6 +148,7 @@ public class DisabledFieldDataFormatTests extends ElasticsearchIntegrationTest {
return true;
}
});
waitNoPendingTasksOnAll();
logger.info(">> put mapping verified {}, applies {}", format, applied);
if (!applied) {
fail();

View File

@ -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 + "]");
}
}