Skip to content

Commit 4b1d240

Browse files
ftouchtetongtongcao
authored andcommitted
Fix test
1 parent 32f863f commit 4b1d240

File tree

1 file changed

+3
-2
lines changed
  • reconstruction/alert/src/test/java/org/jlab/service/alert

1 file changed

+3
-2
lines changed

reconstruction/alert/src/test/java/org/jlab/service/alert/AHDCTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
public class AHDCTest {
2020

2121
@Test
22-
public static void run() {
22+
public void run() {
2323
System.setProperty("CLAS12DIR", "../../");
2424
DefaultLogger.debug();
2525
String dir = ClasUtilsFile.getResourceDir("CLAS12DIR", "etc/bankdefs/hipo4");
@@ -42,7 +42,8 @@ public static void run() {
4242
}
4343

4444
public static void main(String[] args) {
45-
run();
45+
AHDCTest t = new AHDCTest();
46+
t.run();
4647
}
4748

4849
}

0 commit comments

Comments
 (0)