Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hungj committed Sep 17, 2018
1 parent d2c3a0a commit 8ef274f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tony-core/src/main/resources/tony-default.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
50 times via ipc.client.connect.max.retries and tony.application.num-rm-connect-retries is set to 1, the retry
policy will try to connect once, but the IPC client will still try to connect 50 times.
</description>
<name>tony.application.num-rm-connect-retries</name>
<name>tony.application.num-client-rm-connect-retries</name>
<value>3</value>
</property>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public void testTaskExecutorConf() throws Exception {
TaskExecutor taskExecutor = new TaskExecutor();
Configuration tonyConf = new Configuration(false);
tonyConf.setInt(TonyConfigurationKeys.TASK_HEARTBEAT_INTERVAL_MS, 2000);
File confFile = new File(System.getProperty("user.dir"), Constants.TONY_XML);
File confFile = new File(System.getProperty("user.dir"), Constants.TONY_FINAL_XML);
try (OutputStream os = new FileOutputStream(confFile)) {
tonyConf.writeXml(os);
}
Expand Down
Binary file added tony-core/src/test/resources/test.zip
Binary file not shown.

0 comments on commit 8ef274f

Please sign in to comment.