Mariusz Klochowicz
01a6dba79b
Use projection::Cfd in the feeds
Roll-out its usage in the actor tests
3 years ago
Mariusz Klochowicz
ea961019c8
Increase the timeout in debug mode to fix CI/bors
Contract setup test keeps failing when bors runs it.
Note: contract setup got recently refactored into a dedicated actor, this might
have increased the time it takes to finish the process.
3 years ago
Mariusz Klochowicz
73fb28ddba
Move CfdOrder inside projection actor
3 years ago
Mariusz Klochowicz
6907026850
Tweak waiting time for new values on channels in tests
Provide separate values for tests in debug and release mode (longer timeouts are
needed by some tests, if they use full-length payout curve)
3 years ago
Thomas Eizinger
1e38ec38ac
`unwrap` only in the tests
This makes the stacktrace more useful because it shows us where exactly
it is failing.
3 years ago
Thomas Eizinger
7bdc93c636
Reduce timeout to 10 seconds
With the reduced number of payout curve entries, our tests are
always fast.
3 years ago
Mariusz Klochowicz
b7d8e8c392
Move watch channel helpers to separate module inside test harness
Introduce `harness::flow` module, grouping helpers that await for the next value
on the watch channel.
3 years ago