diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2017-08-04 13:12:40 +0200 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2017-08-10 12:37:56 +0200 |
commit | 63004c8ce509bd3398cef4cc03f0bf98bcfb616f (patch) | |
tree | 81cc5b4f49cb10d4709253cf7b8daad34e64c054 /tests/acceptance/features/core | |
parent | 3dc1bcd4c1918898808c0d97e2771229cc4331b9 (diff) | |
download | nextcloud-server-63004c8ce509bd3398cef4cc03f0bf98bcfb616f.tar.gz nextcloud-server-63004c8ce509bd3398cef4cc03f0bf98bcfb616f.zip |
Add getter for the timeout multiplier
In some cases the acceptance tests have to explicitly wait for something
to happen without using the "find" method from the actor; in those cases
the timeout multiplier needs to be taken into account too, so the test
cases must be able to retrieve it from the actor.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'tests/acceptance/features/core')
-rw-r--r-- | tests/acceptance/features/core/Actor.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/acceptance/features/core/Actor.php b/tests/acceptance/features/core/Actor.php index a87ccfb7737..bf2f5a7367d 100644 --- a/tests/acceptance/features/core/Actor.php +++ b/tests/acceptance/features/core/Actor.php @@ -105,6 +105,15 @@ class Actor { } /** + * Returns the multiplier for find timeouts. + * + * @return float the multiplier to apply to find timeouts. + */ + public function getFindTimeoutMultiplier() { + return $this->findTimeoutMultiplier; + } + + /** * Sets the multiplier for find timeouts. * * @param float $findTimeoutMultiplier the multiplier to apply to find |