Skip to content

Commit

Permalink
Pass with -D
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Perkins <[email protected]>
  • Loading branch information
cwperks committed Dec 21, 2023
1 parent 2b1b2fa commit f10ac4e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
with:
cache-disabled: true
arguments: |
${{ matrix.gradle_task }} -Dbuild.snapshot=false -i
${{ matrix.gradle_task }} -Dbuild.snapshot=false -Djava.util.concurrent.ForkJoinPool.common.parallelism=20 -i
# - uses: alehechka/upload-tartifact@v2
# if: always()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,6 @@ public void testInvalidDefaultConfig() throws Exception {
final TemporaryFolder tmpFolder = TemporaryFolder.builder().assureDeletion().build();
tmpFolder.create();
System.clearProperty("security.default_init.dir");
System.setProperty("java.util.concurrent.ForkJoinPool.common.parallelism","20");

final Settings settings = Settings.builder()
.put(ConfigConstants.SECURITY_ALLOW_DEFAULT_INIT_SECURITYINDEX, true)
Expand Down Expand Up @@ -333,7 +332,6 @@ public void testInvalidDefaultConfig() throws Exception {
equalTo(HttpStatus.SC_OK)
);
} finally {
System.clearProperty("java.util.concurrent.ForkJoinPool.common.parallelism");
ClusterHelper.resetSystemProperties();
}
}
Expand Down

0 comments on commit f10ac4e

Please sign in to comment.