Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
7.1
-
None
Description
I have seen a few TriggerIntegrationTest failures due to timing issues of triggers firing before waitFor period is over. We added a small delta to fix this problem with other trigger tests but TestTriggerIntegration slipped through the cracks.
An example of such failure is at https://jenkins.thetaphi.de/job/Lucene-Solr-7.x-Linux/768
[junit4] 2> 3025388 DEBUG (AutoscalingActionExecutor-5242-thread-1-processing-n:127.0.0.1:34271_solr) [n:127.0.0.1:34271_solr ] o.a.s.c.a.TriggerIntegrationTest --throwable [junit4] 2> java.lang.AssertionError: node_added_restore_trigger was fired before the configured waitFor period [junit4] 2> at org.junit.Assert.fail(Assert.java:93) [junit4] 2> at org.apache.solr.cloud.autoscaling.TriggerIntegrationTest$TestTriggerAction.process(TriggerIntegrationTest.java:591) [junit4] 2> at org.apache.solr.cloud.autoscaling.ScheduledTriggers.lambda$add$2(ScheduledTriggers.java:248) [junit4] 2> at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
Attachments
Attachments
Issue Links
- is related to
-
SOLR-12132 TestTriggerIntegration fails too easily.
- Resolved
-
SOLR-12133 TriggerIntegrationTest fails too easily.
- Closed