Mark Spanbroek
6df0c9ab40
[integration] set expiry always to high value
...
Reasoning: a purchase is now completed when
the first proof comes in, so the test will no
longer wait until the request has expired.
2022-07-20 13:43:20 +02:00
Mark Spanbroek
bd2fba50c7
[purchasing] Fix integration test
2022-07-20 13:43:20 +02:00
Michael Bradley, Jr
8f0bc54fba
test: make `proc finish` async in "nodes negotiate ..." integration test
...
`waitFor` has been moved into the main body of integration test
`nodes negotiate ...` to reduce blockage on the main thread. That change, along
with widening the expiry in `when defined(windows)` (and bumping up
`timeout-minutes` in our CI workflow) allows Windows CI builds to succeed more
consistently, i.e. without timing out.
2022-07-06 19:03:10 -05:00
Dmitriy Ryajov
77733725bf
fix failing test after nim-ethers bump ( #112 )
2022-06-09 09:36:59 -06:00
Michael Bradley
209343087c
Change every dagger to codex ( #102 )
2022-05-19 13:56:03 -06:00
Mark Spanbroek
15a571387f
[test] Give integration test a bit more time to complete
...
For slow windows CI runners.
2022-05-19 10:38:19 +02:00
Mark Spanbroek
d6393de324
[test] Add integration test for sales and purchasing
2022-05-19 10:38:19 +02:00
Mark Spanbroek
43c0a48245
[tests] move node management into separate module
...
And add a debug option that writes the output of
the node during integration tests to stdout.
2022-05-19 10:38:19 +02:00
Mark Spanbroek
b31ef8356b
[purchasing] retrieve purchase details through REST API
2022-05-19 10:38:19 +02:00
Mark Spanbroek
7d03e83bfc
[rest api] submit storage request parameters as json
2022-05-19 10:38:19 +02:00
Mark Spanbroek
11581fd12c
[sales] REST endpoint that lists available storage
2022-05-19 09:36:47 +02:00
Mark Spanbroek
ef80871984
[sales] Perform POST with JSON body instead of URL params
2022-05-19 09:36:47 +02:00
Mark Spanbroek
45c55ab2a8
[sales] Test sales rest api
2022-05-19 09:36:47 +02:00
Mark Spanbroek
cc9a4e2af6
Add integration tests
2022-05-19 09:36:47 +02:00