Skip to content

Commit

Permalink
Make shared-engine testing multi-threaded.
Browse files Browse the repository at this point in the history
  • Loading branch information
woess committed Sep 12, 2023
1 parent bf9407d commit fe63931
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ public void test() throws IOException {
System.out.println("Using runtime: " + Truffle.getRuntime().toString());
int width = retrieveTerminalWidth();
int position = 0;
ExecutorService pool = WasmTestOptions.SHARED_ENGINE ? Executors.newSingleThreadExecutor() : null;
ExecutorService pool = WasmTestOptions.SHARED_ENGINE ? Executors.newFixedThreadPool(3) : null;
for (WasmCase testCase : qualifyingTestCases) {
int extraWidth = 1 + STATUS_ICON_WIDTH + STATUS_LABEL_WIDTH;
int requiredWidth = testCase.name().length() + extraWidth;
Expand Down

0 comments on commit fe63931

Please sign in to comment.