From 1312c8706e74c161686c01dcb07e4007ce6b6bc8 Mon Sep 17 00:00:00 2001 From: Abe Varghese Date: Mon, 23 Sep 2024 11:36:34 +0530 Subject: [PATCH] Fixed dependency and concurrency issues. --- presto-tests/pom.xml | 5 +++++ .../facebook/presto/tests/TestRestSqlFunctionExecutor.java | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/presto-tests/pom.xml b/presto-tests/pom.xml index 3c00ec6b64d09..295273e9296cd 100644 --- a/presto-tests/pom.xml +++ b/presto-tests/pom.xml @@ -249,6 +249,11 @@ jaxrs + + com.fasterxml.jackson.datatype + jackson-datatype-jdk8 + + com.facebook.airlift diff --git a/presto-tests/src/test/java/com/facebook/presto/tests/TestRestSqlFunctionExecutor.java b/presto-tests/src/test/java/com/facebook/presto/tests/TestRestSqlFunctionExecutor.java index e0a67120b2a80..0b1cb696a885d 100644 --- a/presto-tests/src/test/java/com/facebook/presto/tests/TestRestSqlFunctionExecutor.java +++ b/presto-tests/src/test/java/com/facebook/presto/tests/TestRestSqlFunctionExecutor.java @@ -64,7 +64,6 @@ import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; -import javax.ws.rs.QueryParam; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.UriBuilder; @@ -90,7 +89,7 @@ import static org.testng.Assert.assertFalse; import static org.testng.Assert.assertTrue; -@Test +@Test(singleThreaded = true) public class TestRestSqlFunctionExecutor { @DataProvider(name = "testExecuteFunctionAbs")