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 13:34:38 +0200 |
commit | 340a774fe2b2931545d09ffbc224c71064bd7a5e (patch) | |
tree | b3aa91d46ef628ab99fad8a6993818f7b0a38152 /tests/acceptance | |
parent | 79f4b8566b054bd86998f078c863f54ff60b9033 (diff) | |
download | nextcloud-server-340a774fe2b2931545d09ffbc224c71064bd7a5e.tar.gz nextcloud-server-340a774fe2b2931545d09ffbc224c71064bd7a5e.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')
-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 |