Added watchdog interval timeout for request mappings test.

Some tests failing due to timeout when fetching highlights. Adding the
interval timeout seems to solve the problem
This commit is contained in:
nsingh
2017-11-08 13:42:14 -08:00
parent a4cf27e653
commit f4595a65a9

View File

@@ -13,6 +13,7 @@ package org.springframework.ide.vscode.boot.java.requestmapping.test;
import static org.junit.Assert.assertTrue;
import java.io.File;
import java.time.Duration;
import org.junit.Before;
import org.junit.Test;
@@ -35,6 +36,7 @@ public class RequestMappingLiveHoverTest {
mockAppProvider = new MockRunningAppProvider();
harness = BootLanguageServerHarness.builder()
.runningAppProvider(mockAppProvider.provider)
.watchDogInterval(Duration.ofMillis(100))
.build();
}