From fc69534c735d14aa56b5af157d34d2497aaf665a Mon Sep 17 00:00:00 2001 From: Saw-jan Date: Thu, 5 Jan 2023 11:58:30 +0545 Subject: [PATCH] fix expected failure file --- .../acceptance/expected-failures-localAPI-on-OCIS-storage.md | 5 ++++- .../features/apiAsyncUpload/delayPostprocessing.feature | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/acceptance/expected-failures-localAPI-on-OCIS-storage.md b/tests/acceptance/expected-failures-localAPI-on-OCIS-storage.md index 5f10f770c..2822e9a16 100644 --- a/tests/acceptance/expected-failures-localAPI-on-OCIS-storage.md +++ b/tests/acceptance/expected-failures-localAPI-on-OCIS-storage.md @@ -102,4 +102,7 @@ The expected failures in this file are from features in the owncloud/ocis repo. #### [PROPFIND a file while it's in processing doesn't return 425 code (async uploads)](https://github.com/owncloud/ocis/issues/5327) - [apiAsyncUpload/delayPostprocessing.feature:24](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiAsyncUpload/delayPostprocessing.feature#L24) - [apiAsyncUpload/delayPostprocessing.feature:25](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiAsyncUpload/delayPostprocessing.feature#L25) -- [apiAsyncUpload/delayPostprocessing.feature:26](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiAsyncUpload/delayPostprocessing.feature#L26) \ No newline at end of file +- [apiAsyncUpload/delayPostprocessing.feature:26](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiAsyncUpload/delayPostprocessing.feature#L26) + +Note: always have an empty line at the end of this file. +The bash script that processes this file requires that the last line has a newline on the end. diff --git a/tests/acceptance/features/apiAsyncUpload/delayPostprocessing.feature b/tests/acceptance/features/apiAsyncUpload/delayPostprocessing.feature index c62148b87..1d4cace76 100644 --- a/tests/acceptance/features/apiAsyncUpload/delayPostprocessing.feature +++ b/tests/acceptance/features/apiAsyncUpload/delayPostprocessing.feature @@ -5,7 +5,7 @@ Feature: delay post-processing of uploaded files Given user "Alice" has been created with default attributes and without skeleton files And user "Alice" has uploaded file with content "uploaded content" to "/file.txt" - + @issue-5326 Scenario Outline: user sends GET request to the file while it's still being processed When user "Alice" requests "" with "GET" without retrying Then the HTTP status code should be "425" @@ -15,7 +15,7 @@ Feature: delay post-processing of uploaded files | /remote.php/dav/files/%username%/file.txt | | /dav/spaces/%spaceid%/file.txt | - + @issue-5327 Scenario Outline: user sends PROPFIND request to the file while it's still being processed When user "Alice" requests "" with "PROPFIND" without retrying Then the HTTP status code should be "425"