SOLR-11285: Remove stray logging. Relax test assertion due to timing under load.

This commit is contained in:
Andrzej Bialecki 2017-12-15 11:30:50 +01:00
parent 8eb5c696e4
commit d02d1f1cab
2 changed files with 4 additions and 5 deletions

View File

@ -303,7 +303,6 @@ public class SimDistribStateManager implements DistribStateManager {
for (int i = 0; i < elements.length; i++) { for (int i = 0; i < elements.length; i++) {
String currentName = elements[i]; String currentName = elements[i];
currentPath.append('/'); currentPath.append('/');
LOG.info(" - parentNode=" + parentNode + ", currentName=" + currentName);
n = parentNode.children != null ? parentNode.children.get(currentName) : null; n = parentNode.children != null ? parentNode.children.get(currentName) : null;
if (n == null) { if (n == null) {
if (create) { if (create) {

View File

@ -1209,9 +1209,9 @@ public class TestTriggerIntegration extends SimSolrCloudTestCase {
assertEquals(collectionRates.toString(), 1, collectionRates.size()); assertEquals(collectionRates.toString(), 1, collectionRates.size());
Double collectionRate = collectionRates.get(COLL1); Double collectionRate = collectionRates.get(COLL1);
assertNotNull(collectionRate); assertNotNull(collectionRate);
assertTrue(collectionRate > 5.0); assertTrue(collectionRate > 100.0);
assertEquals(collectionRate, totalNodeRate.get(), 5.0); assertTrue(totalNodeRate.get() > 100.0);
assertEquals(collectionRate, totalShardRate.get(), 5.0); assertTrue(totalShardRate.get() > 100.0);
assertEquals(collectionRate, totalReplicaRate.get(), 5.0); assertTrue(totalReplicaRate.get() > 100.0);
} }
} }