From eaf9187f464e589d3642f07b7f857f6c345a9a90 Mon Sep 17 00:00:00 2001 From: Brandon Clayton <bclayton@usgs.gov> Date: Thu, 31 Aug 2023 12:33:16 -0600 Subject: [PATCH] test --- .../java/gov/usgs/earthquake/nshmp/model/NshmTests.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/test/java/gov/usgs/earthquake/nshmp/model/NshmTests.java b/src/test/java/gov/usgs/earthquake/nshmp/model/NshmTests.java index e49414cd..9f375760 100644 --- a/src/test/java/gov/usgs/earthquake/nshmp/model/NshmTests.java +++ b/src/test/java/gov/usgs/earthquake/nshmp/model/NshmTests.java @@ -96,7 +96,7 @@ class NshmTests { // run single model NshmModel nshmModel = - NshmTestUtils.loadModel(NSHMS.get("nshm-conus-2023")); + NshmTestUtils.loadModel(NSHMS.get("nshm-alaska-2023")); NshmTestUtils.writeExpecteds(nshmModel); nshmModel.exec.shutdown(); @@ -133,10 +133,9 @@ class NshmTests { * Test CONUS 2018 NSHM * * To run test: ./gradlew testConus2018 - * @throws InterruptedException */ @Test - final void testConus2018() throws IOException, InterruptedException { + final void testConus2018() throws IOException { NshmTestUtils.testNshm(NSHMS.get("nshm-conus-2018"), Optional.ofNullable(getSite())); } @@ -162,6 +161,6 @@ class NshmTests { private NshmpSite getSite() { var testSite = System.getProperty("TEST_SITE"); - return testSite == null ? null : NshmpSite.valueOf(testSite); + return testSite == null || testSite == "" ? null : NshmpSite.valueOf(testSite); } } -- GitLab