From ade2fa4002f21e44aef7e9d22b7000dee28894a3 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Tue, 21 Jul 2020 11:19:07 +0545 Subject: [PATCH] Allow up to 9 seconds delay in setTimeout API tests --- .../apiWebdavLocks2/setTimeout.feature | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/tests/acceptance/features/apiWebdavLocks2/setTimeout.feature b/tests/acceptance/features/apiWebdavLocks2/setTimeout.feature index 4dd3e6491847..c2970fe0609a 100644 --- a/tests/acceptance/features/apiWebdavLocks2/setTimeout.feature +++ b/tests/acceptance/features/apiWebdavLocks2/setTimeout.feature @@ -23,13 +23,13 @@ Feature: set timeouts of LOCKS | propertyName | | d:lockdiscovery | Then the value of the item "//d:timeout" in the response should match "" - # consider a drift of 5 seconds between setting the lock and retrieving it + # consider a drift of up to 9 seconds between setting the lock and retrieving it Examples: | dav-path | default-timeout | max-timeout | result | - | old | 120 | 3600 | /Second-(120\|11[5-9])$/ | - | old | 99999 | 3600 | /Second-(3600\|359[5-9])$/ | - | new | 120 | 3600 | /Second-(120\|11[5-9])$/ | - | new | 99999 | 3600 | /Second-(3600\|359[5-9])$/ | + | old | 120 | 3600 | /Second-(120\|11[1-9])$/ | + | old | 99999 | 3600 | /Second-(3600\|359[1-9])$/ | + | new | 120 | 3600 | /Second-(120\|11[1-9])$/ | + | new | 99999 | 3600 | /Second-(3600\|359[1-9])$/ | Scenario Outline: set timeout on folder Given using DAV path @@ -83,18 +83,18 @@ Feature: set timeouts of LOCKS Then the value of the item "//d:timeout" in the response should match "" Examples: | dav-path | timeout | default-timeout | max-timeout | result | - | old | second-600 | 120 | 3600 | /Second-(600\|59[5-9])$/ | - | old | second-600 | 99999 | 3600 | /Second-(600\|59[5-9])$/ | - | old | second-10000 | 120 | 3600 | /Second-(3600\|359[5-9])$/ | - | old | second-10000 | 99999 | 3600 | /Second-(3600\|359[5-9])$/ | - | old | infinite | 120 | 3600 | /Second-(3600\|359[5-9])$/ | - | old | infinite | 99999 | 3600 | /Second-(3600\|359[5-9])$/ | - | new | second-600 | 120 | 3600 | /Second-(600\|59[5-9])$/ | - | new | second-600 | 99999 | 3600 | /Second-(600\|59[5-9])$/ | - | new | second-10000 | 120 | 3600 | /Second-(3600\|359[5-9])$/ | - | new | second-10000 | 99999 | 3600 | /Second-(3600\|359[5-9])$/ | - | new | infinite | 120 | 3600 | /Second-(3600\|359[5-9])$/ | - | new | infinite | 99999 | 3600 | /Second-(3600\|359[3-9])$/ | + | old | second-600 | 120 | 3600 | /Second-(600\|59[1-9])$/ | + | old | second-600 | 99999 | 3600 | /Second-(600\|59[1-9])$/ | + | old | second-10000 | 120 | 3600 | /Second-(3600\|359[1-9])$/ | + | old | second-10000 | 99999 | 3600 | /Second-(3600\|359[1-9])$/ | + | old | infinite | 120 | 3600 | /Second-(3600\|359[1-9])$/ | + | old | infinite | 99999 | 3600 | /Second-(3600\|359[1-9])$/ | + | new | second-600 | 120 | 3600 | /Second-(600\|59[1-9])$/ | + | new | second-600 | 99999 | 3600 | /Second-(600\|59[1-9])$/ | + | new | second-10000 | 120 | 3600 | /Second-(3600\|359[1-9])$/ | + | new | second-10000 | 99999 | 3600 | /Second-(3600\|359[1-9])$/ | + | new | infinite | 120 | 3600 | /Second-(3600\|359[1-9])$/ | + | new | infinite | 99999 | 3600 | /Second-(3600\|359[1-9])$/ | @files_sharing-app-required Scenario Outline: as owner set timeout on folder as receiver check it