diff --git a/gradle/nshm.gradle b/gradle/nshm.gradle index f4ba171888c411048605a30050ea0f7cdc07aa65..2597e0c20c1f214c85a429768414eab10ed5ec74 100644 --- a/gradle/nshm.gradle +++ b/gradle/nshm.gradle @@ -140,10 +140,10 @@ task testConus2018(type: Test) { } useJUnitPlatform() - jvmArgs( - "-Xms2g", - "-Xmx${xmx}", - ) + // jvmArgs( + // "-Xms2g", + // "-Xmx${xmx}", + // ) filter { includeTestsMatching "gov.usgs.earthquake.nshmp.model.NshmTests.testConus2018" diff --git a/src/test/java/gov/usgs/earthquake/nshmp/model/NshmTestUtils.java b/src/test/java/gov/usgs/earthquake/nshmp/model/NshmTestUtils.java index f867f6d9bcd91c261b3f6f1cae00f933a1d68574..04c7e2a22fa173b6156e16fa2e634b3565e5b9ef 100644 --- a/src/test/java/gov/usgs/earthquake/nshmp/model/NshmTestUtils.java +++ b/src/test/java/gov/usgs/earthquake/nshmp/model/NshmTestUtils.java @@ -61,7 +61,7 @@ class NshmTestUtils { return new NshmModel( nshm, ModelLoader.load(nshm.modelPath()), - Executors.newFixedThreadPool(4)); + Executors.newFixedThreadPool(cores)); } /** @@ -155,6 +155,8 @@ class NshmTestUtils { .imts(nshmModel.nshm.imts()) .build(); + LOGGER.info(config.toString()); + Hazard hazard = HazardCalcs.hazard( nshmModel.model, config,