Skip to content

Commit

Permalink
move user data to avoid issues with open files
Browse files Browse the repository at this point in the history
  • Loading branch information
individual-it committed Jun 18, 2024
1 parent ed0273c commit 5ef44c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ def posixfsIntegrationTests(parallelRuns, skipExceptParts = []):
"environment": {
"TEST_SERVER_URL": "http://revad-services:20080",
"OCIS_REVA_DATA_ROOT": "/drone/src/tmp/reva/data/",
"DELETE_USER_DATA_CMD": "sh -c 'i=1; while [ $i -le 60 ]; do rm -rf /drone/src/tmp/reva/data/users/* /drone/src/tmp/reva/data/indexes/by-type/* && break || sleep 5; done'",
"DELETE_USER_DATA_CMD": "bash -c 'i=1; while [ $i -le 60 ]; do echo $i; mv /drone/src/tmp/reva/data/users/ /drone/src/tmp/reva/data/users$((RANDOM)); result=$?; rm -rf /drone/src/tmp/reva/data/indexes/by-type/*; result=$((result+$?)); if [ $result -ne 0 ]; then i=$((i+1)); sleep 5; else break; fi; done'",
"STORAGE_DRIVER": "ocis",
"SKELETON_DIR": "/drone/src/tmp/testing/data/apiSkeleton",
"TEST_WITH_LDAP": "true",
Expand Down

0 comments on commit 5ef44c4

Please sign in to comment.