mirror of
https://github.com/alibaba/DataX.git
synced 2025-05-03 03:59:07 +08:00
change test cases
This commit is contained in:
parent
975096b676
commit
9121b7d3c5
@ -8,9 +8,8 @@ public class EngineTest {
|
|||||||
@Test
|
@Test
|
||||||
public void test() {
|
public void test() {
|
||||||
System.out.println(System.getProperty("java.library.path"));
|
System.out.println(System.getProperty("java.library.path"));
|
||||||
// String[] params = {"-mode", "standalone", "-jobid", "-1", "-job", "/Users/yangzy/workspace/DataX/job/opentsdb2stream.json"};
|
String[] params = {"-mode", "standalone", "-jobid", "-1", "-job", "src/main/job/opentsdb2tdengine.json"};
|
||||||
String[] params = {"-mode", "standalone", "-jobid", "-1", "-job", "/Users/yangzy/workspace/DataX/job/opentsdb2tdengine.json"};
|
System.setProperty("datax.home", "../target/datax/datax");
|
||||||
System.setProperty("datax.home", "/Users/yangzy/workspace/DataX/target/datax/datax");
|
|
||||||
try {
|
try {
|
||||||
Engine.entry(params);
|
Engine.entry(params);
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user