nim-codex/tests/codex
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
..
blockexchange Fix block retransmit (#651) 2024-02-29 07:37:12 +00:00
helpers Fixes active cancellation for pending want requests (#714) 2024-02-22 14:54:45 +00:00
merkletree Build slots (#668) 2024-01-11 08:45:23 -08:00
node Node use correct stores (#710) 2024-02-19 10:12:10 -08:00
sales Fix sales agent (#733) 2024-03-12 06:41:03 +00:00
slots Prover works with zkey (#711) 2024-02-19 18:58:39 +00:00
stores update asynctest to 0.5.1 (#671) 2024-01-29 17:03:51 -03:00
utils Fixes active cancellation for pending want requests (#714) 2024-02-22 14:54:45 +00:00
examples.nim wire in circom backend (#698) 2024-02-09 21:40:30 +00:00
helpers.nim Fixes active cancellation for pending want requests (#714) 2024-02-22 14:54:45 +00:00
testasyncheapqueue.nim update asynctest to 0.5.1 (#671) 2024-01-29 17:03:51 -03:00
testasyncstreamwrapper.nim update asynctest to 0.5.1 (#671) 2024-01-29 17:03:51 -03:00
testblockexchange.nim
testchunking.nim update asynctest to 0.5.1 (#671) 2024-01-29 17:03:51 -03:00
testclock.nim
testerasure.nim cleanup manifest and wire in strategy (#696) 2024-02-07 20:54:57 +00:00
testindexingstrategy.nim rework indexing strategy to use an enum (#694) 2024-02-07 11:13:27 -08:00
testlogutils.nim feat: create logging proxy (#663) 2024-01-22 23:35:03 -08:00
testmanifest.nim cleanup manifest and wire in strategy (#696) 2024-02-07 20:54:57 +00:00
testmerkletree.nim Rework merkle tree (#654) 2023-12-21 06:41:43 +00:00
testnode.nim Contracts handler (#672) 2024-01-15 08:45:04 -08:00
testpurchasing.nim Fix sales agent (#733) 2024-03-12 06:41:03 +00:00
testsales.nim Fix sales agent (#733) 2024-03-12 06:41:03 +00:00
testslots.nim Prover works with zkey (#711) 2024-02-19 18:58:39 +00:00
teststores.nim
teststorestream.nim update asynctest to 0.5.1 (#671) 2024-01-29 17:03:51 -03:00
testsystemclock.nim Revert "remove call to `waitFor` from clock.now and make it async (#691)" (#707) 2024-02-16 22:12:16 +00:00
testutils.nim Improve integration testing client (CodexClient) and json serialization (#514) 2023-09-01 15:44:41 +10:00
testvalidation.nim Revert "remove call to `waitFor` from clock.now and make it async (#691)" (#707) 2024-02-16 22:12:16 +00:00