Skip to content

Commit

Permalink
Revert "Adjust test configurations 4"
Browse files Browse the repository at this point in the history
This reverts commit 9bf8cc8.
  • Loading branch information
nck-mlcnv committed Jul 18, 2024
1 parent 9bf8cc8 commit 25a7ca6
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ public class SPARQLProtocolWorkerTest {
.options(new WireMockConfiguration()
.useChunkedTransferEncoding(Options.ChunkedEncodingPolicy.NEVER)
.dynamicPort()
.notifier(new ConsoleNotifier(false)))
.notifier(new ConsoleNotifier(false))
.jettyIdleTimeout(2000L)
.jettyStopTimeout(2000L)
.timeout(2000))
.failOnUnmatchedRequests(true)
.build();

Expand Down Expand Up @@ -226,8 +229,6 @@ public void testBadHttpCodeResponse() throws IOException, URISyntaxException {
@ParameterizedTest
@MethodSource("completionTargets")
public void testCompletionTargets(HttpWorker.CompletionTarget target) throws URISyntaxException, IOException {
wm.setGlobalFixedDelay(5);

final var uri = new URI("http://localhost:" + wm.getPort() + "/ds/query");
final var processor = new ResponseBodyProcessor("application/sparql-results+json");
final var queryHandler = new QueryHandler(new QueryHandler.Config(queryFile.toAbsolutePath().toString(), QueryHandler.Config.Format.SEPARATOR, null, true, QueryHandler.Config.Order.LINEAR, 0L, QueryHandler.Config.Language.SPARQL));
Expand All @@ -239,7 +240,7 @@ public void testCompletionTargets(HttpWorker.CompletionTarget target) throws URI
queryHandler,
target,
connection,
Duration.parse("PT60S"),
Duration.parse("PT5S"),
"application/sparql-results+json",
RequestFactory.RequestType.POST_URL_ENC_QUERY,
false
Expand Down

0 comments on commit 25a7ca6

Please sign in to comment.