Skip to content

Commit

Permalink
Try to fix connection timed out test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
cherylking committed Sep 30, 2023
1 parent 64f4c3e commit b53a953
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/it/tests/basic-it/windows/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<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}" />
<wlp:install-liberty licenseCode="${wlp.license}" version="${wlp.version}" basedir="${target.dir}" maxDownloadTime="120" />
</target>

<target name="createServer">
Expand Down
2 changes: 1 addition & 1 deletion src/it/tests/deploy-eba-it/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" />
<wlp:clean ref="testServer" apps="true" dropins="true"/>

<wlp:uninstall-feature ref="testServer">
<feature>oauth-2.0</feature>
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" />
<wlp:clean ref="testServer" apps="true" dropins="true" logs="false"/>

</target>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ private void onlineDownload(URL source, File dest) throws IOException {
get.setUsername(username);
get.setPassword(password);
get.setMaxTime(maxDownloadTime);
get.setRetries(5);
get.doGet(source, dest, Project.MSG_INFO, progress);
}

Expand Down

0 comments on commit b53a953

Please sign in to comment.