Skip to content

Conversation

@rhafer
Copy link

@rhafer rhafer commented Feb 20, 2025

Force the use of the "noop" cache. The default "memory" is shared between the testcases and causes failures, after the metadata cache's key changed from paths.

Force the use of the "noop" cache. The default "memory" is shared
between the testcases and causes failures, after the metadata cache's
key changed from paths.
@rhafer rhafer requested review from aduffeck and butonic February 20, 2025 15:22
@rhafer rhafer self-assigned this Feb 20, 2025
@aduffeck
Copy link

lgm.

Just a remark though: posixfs requires a cache, so we'll have to figure out a way to have a clean cache for each test anyway. What we've done in other tests was setting the cache_database to something unique for each tests. Maybe something like

		conf["filemetadatacache"] = map[string]string{"cache_database": revads["storage"].StorageRoot}

could work.

@rhafer rhafer merged commit e8bb801 into opencloud-eu:main Feb 24, 2025
@openclouders openclouders mentioned this pull request Mar 17, 2025
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants