You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a Pillarbox developer I need UTs on CI agents to run reliably.
Currently tests capturing values emitted from publishers might fail if the period of time is short, which can be depend on runner performance. Setting times that are tool large make tests run for a longer period of time, using shorter times makes them less reliable.
For this reason we should update our tests and wait until an output has been received, then finish the test. This is slightly less strict that what we had (we were testing the absence of values as well, after the expected output has been received) but will help us have a much more reliable CI.
Acceptance criteria
Tests that capture values over a period of time have been updated with tests waiting for some output.
Tasks
Replace expect... with expectAtLeast in tests.
The text was updated successfully, but these errors were encountered:
As a Pillarbox developer I need UTs on CI agents to run reliably.
Currently tests capturing values emitted from publishers might fail if the period of time is short, which can be depend on runner performance. Setting times that are tool large make tests run for a longer period of time, using shorter times makes them less reliable.
For this reason we should update our tests and wait until an output has been received, then finish the test. This is slightly less strict that what we had (we were testing the absence of values as well, after the expected output has been received) but will help us have a much more reliable CI.
Acceptance criteria
Tasks
expect...
withexpectAtLeast
in tests.The text was updated successfully, but these errors were encountered: