Fixture

org.eso.ias.heartbeat.test.TestEngine.Fixture
trait Fixture

Fixture to build the HB engine to tests

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def waitHb(timeout: Int): Option[String]

Wait until the HB engine sends an HB to the producer or the timeout elapses. This function is meant to avoid active sleeps in the tests.

Wait until the HB engine sends an HB to the producer or the timeout elapses. This function is meant to avoid active sleeps in the tests.

Value parameters

timeout

The time (msec) to wait for the HB

Attributes

Returns

None if no HB has been received before the timeout elapses; Some(str) if the HB has been received

Concrete fields

The engine to test

The engine to test

Attributes

val frequency: Int

The HB of the supervisor

The HB of the supervisor

Attributes

val supervId: String

The ID of th esupervisor

The ID of th esupervisor

Attributes