diff --git a/.woodpecker.star b/.woodpecker.star index 208fe7d51..86bab34cb 100644 --- a/.woodpecker.star +++ b/.woodpecker.star @@ -1481,7 +1481,7 @@ def multiServiceE2ePipeline(ctx, watch_fs_enabled = False): } if watch_fs_enabled: - extra_server_environment["STORAGE_USES_POSIX_WATCH_FS"] = True + extra_server_environment["STORAGE_USERS_POSIX_WATCH_FS"] = True storage_users_environment = { "OC_CORS_ALLOW_ORIGINS": "%s,https://%s:9201" % (OC_URL, OC_SERVER_NAME), @@ -2073,6 +2073,7 @@ def opencloudServer(storage = "decomposed", accounts_hash_difficulty = 4, depend "WEB_DEBUG_ADDR": "0.0.0.0:9104", "WEBDAV_DEBUG_ADDR": "0.0.0.0:9119", "WEBFINGER_DEBUG_ADDR": "0.0.0.0:9279", + "STORAGE_USERS_POSIX_SCAN_DEBOUNCE_DELAY": 0, } if storage == "posix": @@ -2110,7 +2111,7 @@ def opencloudServer(storage = "decomposed", accounts_hash_difficulty = 4, depend environment["SEARCH_EXTRACTOR_CS3SOURCE_INSECURE"] = True if watch_fs_enabled: - environment["STORAGE_USES_POSIX_WATCH_FS"] = True + environment["STORAGE_USERS_POSIX_WATCH_FS"] = True # Pass in "default" accounts_hash_difficulty to not set this environment variable. # That will allow OpenCloud to use whatever its built-in default is. diff --git a/tests/acceptance/bootstrap/CliContext.php b/tests/acceptance/bootstrap/CliContext.php index 5a910d989..c3554b3d1 100644 --- a/tests/acceptance/bootstrap/CliContext.php +++ b/tests/acceptance/bootstrap/CliContext.php @@ -743,6 +743,10 @@ class CliContext implements Context { * @return void */ public function theAdministratorRenamesFile(string $user, string $file, string $newName): void { + // this downloads the file using WebDAV and by that checks if it's still in + // postprocessing. So its effectively a check for finished postprocessing + $this->featureContext->userDownloadsFileUsingTheAPI($user, $file); + $userUuid = $this->featureContext->getAttributeOfCreatedUser($user, 'id'); $storagePath = $this->getUsersStoragePath(); @@ -767,6 +771,10 @@ class CliContext implements Context { * @return void */ public function theAdministratorMovesFileToFolder(string $user, string $file, string $folder): void { + // this downloads the file using WebDAV and by that checks if it's still in + // postprocessing. So its effectively a check for finished postprocessing + $this->featureContext->userDownloadsFileUsingTheAPI($user, $file); + $userUuid = $this->featureContext->getAttributeOfCreatedUser($user, 'id'); $storagePath = $this->getUsersStoragePath();