Skip to content

Commit

Permalink
Define UPLOAD_DELETE_WAIT_TIME=1 when running on ownCloud10
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-davis committed Jul 1, 2021
1 parent b66c745 commit 4afb755
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/acceptance/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1199,6 +1199,14 @@ export IPV4_URL
export IPV6_URL
export FILES_FOR_UPLOAD="${SCRIPT_PATH}/filesForUpload/"

if [ "${TEST_OCIS}" != "true" ] && [ "${TEST_REVA}" != "true" ]
then
# We are testing on an ownCloud core server.
# Tell the tests to wait 1 second between each upload/delete action
# to avoid problems with actions that depend on timestamps in seconds.
export UPLOAD_DELETE_WAIT_TIME=1
fi

TEST_LOG_FILE=$(mktemp)
SCENARIOS_THAT_PASSED=0
SCENARIOS_THAT_FAILED=0
Expand Down

0 comments on commit 4afb755

Please sign in to comment.