nim-codex/tests/codex/sales/states
markspanbroek e654e93c71
Fix sales agent (#733)
* clock: add 1 second leeway before acting on timeouts

* sales: do not raise in proving loop when slot is cancelled

Allow the onCancelled callback to handle cancellation, and
the onFailed callback to handle failed requests.

* sales: cleanup proving tests

* sales: fix sales agent tests

* sales: stop cancellation loop when request started, finished or failed

* sales: fix flaky test

* sales: fix another flaky test

* clock: add comment explaining the + 1 second

Co-Authored-By: benbierens <thatbenbierens@gmail.com>

---------

Co-authored-by: benbierens <thatbenbierens@gmail.com>
2024-03-12 06:41:03 +00:00
..
testdownloading.nim Create memory-leak detecting test suite (#226) 2023-06-22 12:01:21 -06:00
testfilled.nim Smart contracts update: Groth16Proof instead of bytes (#683) 2024-02-07 07:50:35 +01:00
testfilling.nim Create memory-leak detecting test suite (#226) 2023-06-22 12:01:21 -06:00
testfinished.nim Create memory-leak detecting test suite (#226) 2023-06-22 12:01:21 -06:00
testinitialproving.nim Smart contracts update: Groth16Proof instead of bytes (#683) 2024-02-07 07:50:35 +01:00
testpreparing.nim Slot queue (#455) 2023-07-25 12:50:30 +10:00
testproving.nim Fix sales agent (#733) 2024-03-12 06:41:03 +00:00
testsimulatedproving.nim Fix sales agent (#733) 2024-03-12 06:41:03 +00:00
testunknown.nim update asynctest to 0.5.1 (#671) 2024-01-29 17:03:51 -03:00