mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-15 06:49:56 +00:00
increased timeout for ConcurrencyTest from 3 to 5 minutes
This commit is contained in:
1 parent
ef78bb7b2f
commit
1563cd6314
2 files changed
+8
-1
No files matched your search
@@ -11,7 +11,10 @@ import java.util.List;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import org.junit.Before;
|
||||
import org.junit.Rule;
|
||||
import org.junit.Test;
|
||||
import org.junit.rules.TestRule;
|
||||
import org.junit.rules.Timeout;
|
||||
|
||||
import com.sap.sailing.domain.base.Competitor;
|
||||
import com.sap.sailing.domain.base.impl.DouglasPeucker;
|
||||
@@ -36,6 +39,11 @@ public class ConcurrencyTest extends OnlineTracTracBasedTest {
|
||||
super();
|
||||
}
|
||||
|
||||
@Rule
|
||||
public TestRule getTimeoutRule() {
|
||||
return Timeout.millis(5 * 60 * 1000); // five instead of three minutes timeout for this test
|
||||
}
|
||||
|
||||
@Before
|
||||
public void setUp() throws Exception {
|
||||
super.setUp();
|
||||
|
||||
-1
@@ -91,7 +91,6 @@ public abstract class OnlineTracTracBasedTest extends AbstractTracTracLiveTest i
|
||||
super();
|
||||
}
|
||||
|
||||
|
||||
@Before
|
||||
public void setUp() throws Exception {
|
||||
domainFactory = new DomainFactoryImpl(new com.sap.sailing.domain.base.impl.DomainFactoryImpl(DomainFactory.TEST_RACE_LOG_RESOLVER));
|
||||
|
||||
Reference in new issue
Block a user