Skip to content

Commit

Permalink
LPS-54075 Clean up data folder before each new jvm starts for integra…
Browse files Browse the repository at this point in the history
…tion tests, to prevent left over inconsistent data caused test failures
  • Loading branch information
shuyangzhou authored and brianchandotcom committed Mar 6, 2015
1 parent f1c9905 commit 64a25a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions build-common.xml
Expand Up @@ -1246,6 +1246,7 @@ rerun your task.
<if>
<equals arg1="@{test.type}" arg2="integration" />
<then>
<delete dir="${liferay.home}/data" />
<delete dir="${liferay.home}/osgi/state" />
</then>
</if>
Expand Down
1 change: 1 addition & 0 deletions build-test.xml
Expand Up @@ -1205,6 +1205,7 @@
</then>
</if>

<delete dir="${liferay.home}/data" />
<delete dir="${liferay.home}/osgi/state" />

<if>
Expand Down

0 comments on commit 64a25a6

Please sign in to comment.