Skip to content

Commit

Permalink
Merge pull request #4929 from aduffeck/fix-flaky-posixfs-tests
Browse files Browse the repository at this point in the history
Fix flaky posixfs tests
  • Loading branch information
aduffeck authored Nov 14, 2024
2 parents b36aa05 + e53bce5 commit fc2a742
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,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": "bash -cx 'for i in {1..30}; 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 -cx 'for i in {1..30}; do rm -rf /drone/src/tmp/reva/data/users/* /drone/src/tmp/reva/data/indexes/by-type/* && break || sleep 5; done; sleep 0.1'",
"STORAGE_DRIVER": "ocis",
"SKELETON_DIR": "/drone/src/tmp/testing/data/apiSkeleton",
"TEST_WITH_LDAP": "true",
Expand Down
6 changes: 6 additions & 0 deletions changelog/unreleased/fix-flaky-posixfs-tests.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Bugfix: Fix flaky posixfs integration tests

We fixed a problem with the posixfs integration tests where the in-memory id cache sometimes hadn't caught up with the cleanup between test runs leading to flaky failures.

https://github.com/cs3org/reva/pull/4929

0 comments on commit fc2a742

Please sign in to comment.