summaryrefslogtreecommitdiffstats
path: root/tests/acceptance/features/core/NextcloudTestServerHelper.php
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2017-05-03 12:34:04 +0200
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2017-05-03 12:34:04 +0200
commit97bedb94af6d1981a618a4fa0024edbdf93e1a7b (patch)
treeebb84206fdbc1f1b0e5421e5e1bcb4917e3d7b6d /tests/acceptance/features/core/NextcloudTestServerHelper.php
parent94c2f12226ed005fc2a1e9c440ec70346e9c272a (diff)
downloadnextcloud-server-97bedb94af6d1981a618a4fa0024edbdf93e1a7b.tar.gz
nextcloud-server-97bedb94af6d1981a618a4fa0024edbdf93e1a7b.zip
Fix exponential increase of timeout when finding ancestor elements
The timeout passed to the "find" method was multiplied by the "findTimeoutMultiplier" attribute. However, as "find" used "findAncestor" and "findAncestor", in turn, used "find" itself the timeout was increased exponentially for ancestor elements. Now "find" was split in "find" and "findInternal"; the first method is the public one and modifies the given parameters as needed and then calls the second method, private, that performs the find itself. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'tests/acceptance/features/core/NextcloudTestServerHelper.php')
0 files changed, 0 insertions, 0 deletions