PatienceConfiguration

Companion:
class
class Object
trait Matchable
class Any

Type members

Classlikes

final case class Interval(value: Span) extends PatienceConfigParam

A PatienceConfigParam that specifies the amount of time to sleep after a retry.

A PatienceConfigParam that specifies the amount of time to sleep after a retry.

Value parameters:
value

the amount of time to sleep between each attempt

Throws:
NullArgumentException

if passed value is null

sealed abstract class PatienceConfigParam extends Product with Serializable

Abstract class defining a family of configuration parameters for traits Eventually and Waiters.

Abstract class defining a family of configuration parameters for traits Eventually and Waiters.

The subclasses of this abstract class are used to pass configuration information to the eventually methods of trait Eventually and the await methods of trait Waiters.

final case class Timeout(value: Span) extends PatienceConfigParam

A PatienceConfigParam that specifies the maximum amount of time to wait for an asynchronous operation to complete.

A PatienceConfigParam that specifies the maximum amount of time to wait for an asynchronous operation to complete.

Value parameters:
value

the maximum amount of time to retry before giving up and throwing TestFailedException.

Throws:
NullArgumentException

if passed value is null