"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "terracotta-kit/src/test/java/org/terracotta/voter/bin/StartTcVoterScriptTest.java" between
terracotta-core-5.7.0.tar.gz and terracotta-core-5.7.1.tar.gz

About: Terracotta - Clustering technology for Java ("Network Attached Memory", "Distributed Cache"). Source code of the server (5.x) core components.

StartTcVoterScriptTest.java  (terracotta-core-5.7.0):StartTcVoterScriptTest.java  (terracotta-core-5.7.1)
skipping to change at line 59 skipping to change at line 59
super(PATH_NAME_SEGMENT_LENGTH); super(PATH_NAME_SEGMENT_LENGTH);
} }
@Override @Override
protected void testScript(File installRoot) throws Exception { protected void testScript(File installRoot) throws Exception {
Duration timeout = Duration.ofSeconds(2L); Duration timeout = Duration.ofSeconds(2L);
Path basePath = Paths.get("voter"); Path basePath = Paths.get("voter");
Path binDir = createInstallDir(installRoot, basePath.resolve("bin")); Path binDir = createInstallDir(installRoot, basePath.resolve("bin"));
Path scriptPath = installScript(CURRENT_OPERATING_SYSTEM.appendScriptExtensi on("/voter/bin/start-tc-voter"), binDir); Path scriptPath = installScript(CURRENT_OPERATING_SYSTEM.appendScriptExtensi on("/tools/voter/bin/start-tc-voter"), binDir);
installScript(CURRENT_OPERATING_SYSTEM.appendScriptExtension("/setenv"), bin Dir); installScript(CURRENT_OPERATING_SYSTEM.appendScriptExtension("/setenv"), bin Dir);
createJar("test.jar", createJar("test.jar",
createInstallDir(installRoot, basePath.resolve("lib")), createInstallDir(installRoot, basePath.resolve("lib")),
true, "org.terracotta.voter.TCVoterMain"); true, "org.terracotta.voter.TCVoterMain");
Map<String, String> environment = new LinkedHashMap<>(); Map<String, String> environment = new LinkedHashMap<>();
environment.put("JAVA_OPTS", "-Dfoo=bar"); environment.put("JAVA_OPTS", "-Dfoo=bar");
String[] arguments = { "arg1", "arg2" }; String[] arguments = { "arg1", "arg2" };
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)