Skip to content

Commit

Permalink
More changes for test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
cherylking committed Oct 1, 2023
1 parent f250327 commit 9776bcd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
3 changes: 1 addition & 2 deletions src/it/tests/basic-it/windows/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,12 @@
<property name="wlp.usr.dir" value="${target.dir}/wlp_usr" />
<property name="wlp.output.dir" value="${target.dir}/wlp_output" />
<property name="servername" value="basic" />
<property name="cacheDir" value="${target.dir}/wlp-cache" />

<property name="serverConfig" value="${basedir}/src/test/resources/server.xml" />
<property name="bootProp" value="${basedir}/src/test/resources/bootstrap.properties" />

<target name="installServer">
<wlp:install-liberty licenseCode="${wlp.license}" version="${wlp.version}" basedir="${target.dir}" cacheDir="${cacheDir}" />
<wlp:install-liberty licenseCode="${wlp.license}" version="${wlp.version}" basedir="${target.dir}" />
</target>

<target name="createServer">
Expand Down
2 changes: 1 addition & 1 deletion src/it/tests/deploy-eba-it/windows/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

<wlp:server ref="testServer" operation="stop" />

<wlp:clean ref="testServer" apps="true" dropins="true" logs="false"/>
<wlp:clean ref="testServer" apps="true" dropins="true" logs="false" workarea="false" />

</target>

Expand Down
3 changes: 1 addition & 2 deletions src/it/tests/install-server-it/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@
<property name="wlp.usr.dir" value="${target.dir}/wlp_usr" />
<property name="wlp.output.dir" value="${target.dir}/wlp_output" />
<property name="servername" value="wlp.ant.test" />
<property name="cacheDir" value="${target.dir}/wlp-cache" />

<target name="installServer">
<wlp:install-liberty licenseCode="${wlpLicense}" version="${wlpVersion}" basedir="${target.dir}" type="kernel" cacheDir="${cacheDir}" />
<wlp:install-liberty licenseCode="${wlpLicense}" version="${wlpVersion}" basedir="${target.dir}" type="kernel" />

<delete dir="${wlp.usr.dir}" />
<delete dir="${wlp.output.dir}" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class InstallLibertyTask extends AbstractTask {

private String baseDir;
private String cacheDir;
private boolean verbose=true;
private boolean verbose;
private String licenseCode;
private String version;
private String type;
Expand Down Expand Up @@ -125,9 +125,7 @@ private void onlineDownload(URL source, File dest, boolean skipExisting) throws
}
if (skipExisting) {
get.setSkipExisting(true);
} //else {
// get.setUseTimestamp(true);
//}
}
get.setUsername(username);
get.setPassword(password);
get.setMaxTime(maxDownloadTime);
Expand Down

0 comments on commit 9776bcd

Please sign in to comment.