Skip to content
Snippets Groups Projects
Commit eaf9187f authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

test

parent d8325757
No related branches found
No related tags found
2 merge requests!755Production Release | nshmp-haz,!754NSHM Unit tests
......@@ -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);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment