mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-14 19:33:10 +00:00
debugging in ci
This commit is contained in:
parent
83d36c06fc
commit
43fc6bd7b8
@ -90,16 +90,26 @@ template marketplacesuite*(name: string, body: untyped) =
|
||||
discard
|
||||
|
||||
setup:
|
||||
echo ">>> [marketplacesuite.setup] setup start"
|
||||
marketplace = Marketplace.new(Marketplace.address, ethProvider.getSigner())
|
||||
echo ">>> [marketplacesuite.setup] setup 1"
|
||||
let tokenAddress = await marketplace.token()
|
||||
echo ">>> [marketplacesuite.setup] setup 2"
|
||||
token = Erc20Token.new(tokenAddress, ethProvider.getSigner())
|
||||
echo ">>> [marketplacesuite.setup] setup 3"
|
||||
let config = await mp.config(marketplace)
|
||||
echo ">>> [marketplacesuite.setup] setup 4"
|
||||
period = config.proofs.period.truncate(uint64)
|
||||
echo ">>> [marketplacesuite.setup] setup 5"
|
||||
periodicity = Periodicity(seconds: period.u256)
|
||||
echo ">>> [marketplacesuite.setup] setup 6"
|
||||
|
||||
continuousMineFut = continuouslyAdvanceEvery(chronos.millis(500))
|
||||
echo ">>> [marketplacesuite.setup] setup 7"
|
||||
|
||||
teardown:
|
||||
echo ">>> [marketplacesuite.teardown] teardown start"
|
||||
await continuousMineFut.cancelAndWait()
|
||||
echo ">>> [marketplacesuite.teardown] teardown end"
|
||||
|
||||
body
|
||||
|
||||
@ -238,14 +238,14 @@ marketplacesuite "Marketplace payouts":
|
||||
clients:
|
||||
NodeConfig()
|
||||
.nodes(1)
|
||||
# .debug() # uncomment to enable console log output.debug()
|
||||
.debug() # uncomment to enable console log output.debug()
|
||||
# .withLogFile() # uncomment to output log file to tests/integration/logs/<start_datetime> <suite_name>/<test_name>/<node_role>_<node_idx>.log
|
||||
.withLogTopics("node", "erasure"),
|
||||
|
||||
providers:
|
||||
NodeConfig()
|
||||
.nodes(1)
|
||||
# .debug() # uncomment to enable console log output
|
||||
.debug() # uncomment to enable console log output
|
||||
# .withLogFile() # uncomment to output log file to tests/integration/logs/<start_datetime> <suite_name>/<test_name>/<node_role>_<node_idx>.log
|
||||
.withLogTopics("marketplace", "sales", "reservations", "node", "clock"),
|
||||
):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user