mirror of https://github.com/apache/lucene.git
SOLR-11285: Remove stray logging. Relax test assertion due to timing under load.
This commit is contained in:
parent
8eb5c696e4
commit
d02d1f1cab
|
@ -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) {
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue