summaryrefslogtreecommitdiffstats
path: root/build/integration/federation_features
diff options
context:
space:
mode:
authorSergio Bertolin <sbertolin@solidgear.es>2016-04-22 09:02:15 +0000
committerRoeland Jago Douma <rullzer@owncloud.com>2016-05-31 10:41:38 +0200
commitdc05f979c26c133966c07cf4df00e9746f3e1b12 (patch)
tree59fbd9919c5da236f3e4a2dafba651056e0f8a18 /build/integration/federation_features
parentf2bf75d3b727cbf82b79d163f1c67ef764a2d445 (diff)
downloadnextcloud-server-dc05f979c26c133966c07cf4df00e9746f3e1b12.tar.gz
nextcloud-server-dc05f979c26c133966c07cf4df00e9746f3e1b12.zip
Added same test using old chunking
Diffstat (limited to 'build/integration/federation_features')
-rw-r--r--build/integration/federation_features/federated.feature18
1 files changed, 17 insertions, 1 deletions
diff --git a/build/integration/federation_features/federated.feature b/build/integration/federation_features/federated.feature
index ff5001c9e8c..e1415e17325 100644
--- a/build/integration/federation_features/federated.feature
+++ b/build/integration/federation_features/federated.feature
@@ -150,7 +150,7 @@ Feature: federated
And Downloading file "/PARENT (2)/textfile0.txt" with range "bytes=0-8"
Then Downloaded content should be "BLABLABLA"
- Scenario: Overwrite a federated shared file as recipient using chunking
+ Scenario: Overwrite a federated shared file as recipient using new chunking
Given Using server "REMOTE"
And user "user1" exists
And user "user2" exists
@@ -170,6 +170,22 @@ Feature: federated
And Downloading file "/textfile0 (2).txt" with range "bytes=0-4"
Then Downloaded content should be "AAAAA"
+ Scenario: Overwrite a federated shared file as recipient using old chunking
+ Given Using server "REMOTE"
+ And user "user1" exists
+ And user "user2" exists
+ And Using server "LOCAL"
+ And user "user0" exists
+ And User "user0" from server "LOCAL" shares "/textfile0.txt" with user "user1" from server "REMOTE"
+ And User "user1" from server "REMOTE" accepts last pending share
+ And Using server "REMOTE"
+ And As an "user1"
+ And user "user1" uploads chunk file "1" of "3" with "AAAAA" to "/textfile0 (2).txt"
+ And user "user1" uploads chunk file "2" of "3" with "BBBBB" to "/textfile0 (2).txt"
+ And user "user1" uploads chunk file "3" of "3" with "CCCCC" to "/textfile0 (2).txt"
+ And Downloading file "/textfile0 (2).txt" with range "bytes=0-4"
+ Then Downloaded content should be "AAAAA"
+