Scenario: downloading small file and dir with 65524 small files and 9 nested directories returns a zip32
Given usingnewdavpath
And user"user0"exists
And user"user0"createdafolder"/crowdedFolder"
And user"user0"createdafolder"/crowdedFolder/subFolder1"
And file"/crowdedFolder/subFolder1/test.txt"iscreated"10000"timesin"user0"userdata
And invokingoccwith"files:scan--path/user0/files/crowdedFolder/subFolder1"
And user"user0"createdafolder"/crowdedFolder/subFolder2"
And file"/crowdedFolder/subFolder2/test.txt"iscreated"10000"timesin"user0"userdata
And invokingoccwith"files:scan--path/user0/files/crowdedFolder/subFolder2"
And user"user0"createdafolder"/crowdedFolder/subFolder3"
And file"/crowdedFolder/subFolder3/test.txt"iscreated"10000"timesin"user0"userdata
And invokingoccwith"files:scan--path/user0/files/crowdedFolder/subFolder3"
And user"user0"createdafolder"/crowdedFolder/subFolder4"
And file"/crowdedFolder/subFolder4/test.txt"iscreated"10000"timesin"user0"userdata
And invokingoccwith"files:scan--path/user0/files/crowdedFolder/subFolder4"
And user"user0"createdafolder"/crowdedFolder/subFolder5"
And file"/crowdedFolder/subFolder5/test.txt"iscreated"10000"timesin"user0"userdata
And invokingoccwith"files:scan--path/user0/files/crowdedFolder/subFolder5"
And user"user0"createdafolder"/crowdedFolder/subFolder6"
And file"/crowdedFolder/subFolder6/test.txt"iscreated"10000"timesin"user0"userdata
And invokingoccwith"files:scan--path/user0/files/crowdedFolder/subFolder6"
And user"user0"createdafolder"/crowdedFolder/subFolder7"
And file"/crowdedFolder/subFolder7/test.txt"iscreated"5524"timesin"user0"userdata
And invokingoccwith"files:scan--path/user0/files/crowdedFolder/subFolder7"
And user"user0"createdafolder"/crowdedFolder/subFolder7/subSubFolder"
And user"user0"createdafolder"/crowdedFolder/subFolder7/subSubFolder/emptySubSubSubFolder"
When user"user0"downloadszipfileforentries'"welcome.txt","crowdedFolder"'infolder"/"
Then thedownloadedzipfileisazip32file
And thedownloadedzipfilecontainsafilenamed"welcome.txt"withthecontentsof"/welcome.txt"from"user0"data
And thedownloadedzipfilecontainsafoldernamed"crowdedFolder/"
And thedownloadedzipfilecontainsafoldernamed"crowdedFolder/subFolder1/"
And thedownloadedzipfilecontainsafilenamed"crowdedFolder/subFolder1/test.txt-0"withthecontentsof"/crowdedFolder/subFolder1/test.txt-0"from"user0"data
And thedownloadedzipfilecontainsafilenamed"crowdedFolder/subFolder7/test.txt-5523"withthecontentsof"/crowdedFolder/subFolder7/test.txt-5523"from"user0"data
And thedownloadedzipfilecontainsafoldernamed"crowdedFolder/subFolder7/subSubFolder/emptySubSubSubFolder/"
@large
Scenario: downloading dir with 65525 small files and 9 nested directories returns a zip32
Given usingnewdavpath
And user"user0"exists
And user"user0"createdafolder"/crowdedFolder"
And user"user0"createdafolder"/crowdedFolder/subFolder1"
And file"/crowdedFolder/subFolder1/test.txt"iscreated"10000"timesin"user0"userdata
And invokingoccwith"files:scan--path/user0/files/crowdedFolder/subFolder1"
And user"user0"createdafolder"/crowdedFolder/subFolder2"
And file"/crowdedFolder/subFolder2/test.txt"iscreated"10000"timesin"user0"userdata
And invokingoccwith"files:scan--path/user0/files/crowdedFolder/subFolder2"
And user"user0"createdafolder"/crowdedFolder/subFolder3"
And file"/crowdedFolder/subFolder3/test.txt"iscreated"10000"timesin"user0"userdata
And invokingoccwith"files:scan--path/user0/files/crowdedFolder/subFolder3"
And user"user0"createdafolder"/crowdedFolder/subFolder4"
And file"/crowdedFolder/subFolder4/test.txt"iscreated"10000"timesin"user0"userdata
And invokingoccwith"files:scan--path/user0/files/crowdedFolder/subFolder4"
And user"user0"createdafolder"/crowdedFolder/subFolder5"
And file"/crowdedFolder/subFolder5/test.txt"iscreated"10000"timesin"user0"userdata
And invokingoccwith"files:scan--path/user0/files/crowdedFolder/subFolder5"
And user"user0"createdafolder"/crowdedFolder/subFolder6"
And file"/crowdedFolder/subFolder6/test.txt"iscreated"10000"timesin"user0"userdata
And invokingoccwith"files:scan--path/user0/files/crowdedFolder/subFolder6"
And user"user0"createdafolder"/crowdedFolder/subFolder7"
And file"/crowdedFolder/subFolder7/test.txt"iscreated"5525"timesin"user0"userdata
And invokingoccwith"files:scan--path/user0/files/crowdedFolder/subFolder7"
And user"user0"createdafolder"/crowdedFolder/subFolder7/subSubFolder"
And user"user0"createdafolder"/crowdedFolder/subFolder7/subSubFolder/emptySubSubSubFolder"
When user"user0"downloadszipfileforentries'"crowdedFolder"'infolder"/"
Then thedownloadedzipfileisazip32file
And thedownloadedzipfilecontainsafoldernamed"crowdedFolder/"
And thedownloadedzipfilecontainsafoldernamed"crowdedFolder/subFolder1/"
And thedownloadedzipfilecontainsafilenamed"crowdedFolder/subFolder1/test.txt-0"withthecontentsof"/crowdedFolder/subFolder1/test.txt-0"from"user0"data
And thedownloadedzipfilecontainsafilenamed"crowdedFolder/subFolder7/test.txt-5524"withthecontentsof"/crowdedFolder/subFolder7/test.txt-5524"from"user0"data
And thedownloadedzipfilecontainsafoldernamed"crowdedFolder/subFolder7/subSubFolder/emptySubSubSubFolder/"
@large
Scenario: downloading small file and dir with 65524 small files and 10 nested directories returns a zip64
Given usingnewdavpath
And user"user0"exists
And user"user0"createdafolder"/crowdedFolder"
And user"user0"createdafolder"/crowdedFolder/subFolder1"
And file"/crowdedFolder/subFolder1/test.txt"iscreated"10000"timesin"user0"userdata
And invokingoccwith"files:scan--path/user0/files/crowdedFolder/subFolder1"
And user"user0"createdafolder"/crowdedFolder/subFolder2"
And file"/crowdedFolder/subFolder2/test.txt"iscreated"10000"timesin"user0"userdata
And invokingoccwith"files:scan--path/user0/files/crowdedFolder/subFolder2"
And user"user0"createdafolder"/crowdedFolder/subFolder3"
And file"/crowdedFolder/subFolder3/test.txt"iscreated"10000"timesin"user0"userdata
And invokingoccwith"files:scan--path/user0/files/crowdedFolder/subFolder3"
And user"user0"createdafolder"/crowdedFolder/subFolder4"
And file"/crowdedFolder/subFolder4/test.txt"iscreated"10000"timesin"user0"userdata
And invokingoccwith"files:scan--path/user0/files/crowdedFolder/subFolder4"
And user"user0"createdafolder"/crowdedFolder/subFolder5"
And file"/crowdedFolder/subFolder5/test.txt"iscreated"10000"timesin"user0"userdata
And invokingoccwith"files:scan--path/user0/files/crowdedFolder/subFolder5"
And user"user0"createdafolder"/crowdedFolder/subFolder6"
And file"/crowdedFolder/subFolder6/test.txt"iscreated"10000"timesin"user0"userdata
And invokingoccwith"files:scan--path/user0/files/crowdedFolder/subFolder6"
And user"user0"createdafolder"/crowdedFolder/subFolder7"
And file"/crowdedFolder/subFolder7/test.txt"iscreated"5524"timesin"user0"userdata
And invokingoccwith"files:scan--path/user0/files/crowdedFolder/subFolder7"
And user"user0"createdafolder"/crowdedFolder/subFolder7/subSubFolder"
And user"user0"createdafolder"/crowdedFolder/subFolder7/subSubFolder/emptySubSubSubFolder"
And user"user0"createdafolder"/crowdedFolder/subFolder7/emptySubSubFolder"
When user"user0"downloadszipfileforentries'"welcome.txt","crowdedFolder"'infolder"/"
Then thedownloadedzipfileisazip64file
And thedownloadedzipfilecontainsafilenamed"welcome.txt"withthecontentsof"/welcome.txt"from"user0"data
And thedownloadedzipfilecontainsafoldernamed"crowdedFolder/"
And thedownloadedzipfilecontainsafoldernamed"crowdedFolder/subFolder1/"
And thedownloadedzipfilecontainsafilenamed"crowdedFolder/subFolder1/test.txt-0"withthecontentsof"/crowdedFolder/subFolder1/test.txt-0"from"user0"data
And thedownloadedzipfilecontainsafilenamed"crowdedFolder/subFolder7/test.txt-5523"withthecontentsof"/crowdedFolder/subFolder7/test.txt-5523"from"user0"data
And thedownloadedzipfilecontainsafoldernamed"crowdedFolder/subFolder7/subSubFolder/emptySubSubSubFolder/"
And thedownloadedzipfilecontainsafoldernamed"crowdedFolder/subFolder7/emptySubSubFolder/"
@large
Scenario: downloading dir with 65525 small files and 10 nested directories returns a zip64
Given usingnewdavpath
And user"user0"exists
And user"user0"createdafolder"/crowdedFolder"
And user"user0"createdafolder"/crowdedFolder/subFolder1"
And file"/crowdedFolder/subFolder1/test.txt"iscreated"10000"timesin"user0"userdata
And invokingoccwith"files:scan--path/user0/files/crowdedFolder/subFolder1"
And user"user0"createdafolder"/crowdedFolder/subFolder2"
And file"/crowdedFolder/subFolder2/test.txt"iscreated"10000"timesin"user0"userdata
And invokingoccwith"files:scan--path/user0/files/crowdedFolder/subFolder2"
And user"user0"createdafolder"/crowdedFolder/subFolder3"
And file"/crowdedFolder/subFolder3/test.txt"iscreated"10000"timesin"user0"userdata
And invokingoccwith"files:scan--path/user0/files/crowdedFolder/subFolder3"
And user"user0"createdafolder"/crowdedFolder/subFolder4"
And file"/crowdedFolder/subFolder4/test.txt"iscreated"10000"timesin"user0"userdata
And invokingoccwith"files:scan--path/user0/files/crowdedFolder/subFolder4"
And user"user0"createdafolder"/crowdedFolder/subFolder5"
And file"/crowdedFolder/subFolder5/test.txt"iscreated"10000"timesin"user0"userdata
And invokingoccwith"files:scan--path/user0/files/crowdedFolder/subFolder5"
And user"user0"createdafolder"/crowdedFolder/subFolder6"
And file"/crowdedFolder/subFolder6/test.txt"iscreated"10000"timesin"user0"userdata
And invokingoccwith"files:scan--path/user0/files/crowdedFolder/subFolder6"
And user"user0"createdafolder"/crowdedFolder/subFolder7"
And file"/crowdedFolder/subFolder7/test.txt"iscreated"5525"timesin"user0"userdata
And invokingoccwith"files:scan--path/user0/files/crowdedFolder/subFolder7"
And user"user0"createdafolder"/crowdedFolder/subFolder7/subSubFolder"
And user"user0"createdafolder"/crowdedFolder/subFolder7/subSubFolder/emptySubSubSubFolder"
And user"user0"createdafolder"/crowdedFolder/subFolder7/emptySubSubFolder"
When user"user0"downloadszipfileforentries'"crowdedFolder"'infolder"/"
Then thedownloadedzipfileisazip64file
And thedownloadedzipfilecontainsafoldernamed"crowdedFolder/"
And thedownloadedzipfilecontainsafoldernamed"crowdedFolder/subFolder1/"
And thedownloadedzipfilecontainsafilenamed"crowdedFolder/subFolder1/test.txt-0"withthecontentsof"/crowdedFolder/subFolder1/test.txt-0"from"user0"data
And thedownloadedzipfilecontainsafilenamed"crowdedFolder/subFolder7/test.txt-5524"withthecontentsof"/crowdedFolder/subFolder7/test.txt-5524"from"user0"data
And thedownloadedzipfilecontainsafoldernamed"crowdedFolder/subFolder7/subSubFolder/emptySubSubSubFolder/"
And thedownloadedzipfilecontainsafoldernamed"crowdedFolder/subFolder7/emptySubSubFolder/"