Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
surajkumar committed Sep 1, 2024
1 parent c8a07d7 commit f3cf468
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
8 changes: 0 additions & 8 deletions jshell-aws-backend/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,4 @@ test {
testLogging {
events "passed", "skipped", "failed"
}
}

sourceSets {
test {
java {
srcDirs 'src/test/integration', 'src/test/unit'
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import com.sun.net.httpserver.HttpHandler;
import com.sun.net.httpserver.HttpServer;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.CsvSource;

Expand All @@ -33,8 +32,7 @@
*
* @author Suraj Kumar
*/
@Disabled // CodeQL can't run this test, but we have adequate unit tests
class CodeRunnerMockTest {
class CodeRunnerAPITest {
private static final ObjectMapper OBJECT_MAPPER = new ObjectMapper();
private static final int HTTP_PORT = 3001;
private static final String API_URL = "http://localhost:%d/".formatted(HTTP_PORT);
Expand Down

0 comments on commit f3cf468

Please sign in to comment.