Skip to content

Commit

Permalink
Add getter for the timeout multiplier
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
danxuliu committed Aug 4, 2017
1 parent de94eef commit 931d6fd
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/acceptance/features/core/Actor.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,15 @@ public function setBaseUrl($baseUrl) {
$this->baseUrl = $baseUrl;
}

/**
* 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.
*
Expand Down

0 comments on commit 931d6fd

Please sign in to comment.