mirror of
https://github.com/status-im/nim-codex.git
synced 2025-02-12 10:46:57 +00:00
3212c3cf30
- need to test with longer tests to ensure the parallelisation is truly happening - is the +10 hardhat port needed? - try with more integration tests # Conflicts: # tests/integration/hardhatprocess.nim # tests/integration/multinodes.nim # tests/integration/testcli.nim # tests/testIntegration.nim
52 lines
1.8 KiB
Nim
52 lines
1.8 KiB
Nim
# import ./integration/testcli
|
|
# import ./integration/testrestapi
|
|
# import ./integration/testupdownload
|
|
# import ./integration/testsales
|
|
# import ./integration/testpurchasing
|
|
# import ./integration/testblockexpiration
|
|
# import ./integration/testmarketplace
|
|
# import ./integration/testproofs
|
|
# import ./integration/testvalidator
|
|
# import ./integration/testecbug
|
|
|
|
import pkg/chronos
|
|
import pkg/codex/logutils
|
|
import ./integration/testmanager
|
|
|
|
{.warning[UnusedImport]: off.}
|
|
|
|
const TestConfigs =
|
|
@[
|
|
# IntegrationTestConfig(testFile: "./integration/testcli", startHardhat: true),
|
|
# IntegrationTestConfig(testFile: "./integration/testrestapi", startHardhat: true),
|
|
# IntegrationTestConfig(testFile: "./integration/testupdownload", startHardhat: true),
|
|
# IntegrationTestConfig(testFile: "./integration/testsales", startHardhat: true),
|
|
# IntegrationTestConfig(testFile: "./integration/testpurchasing", startHardhat: true),
|
|
# IntegrationTestConfig(testFile: "./integration/testblockexpiration", startHardhat: true),
|
|
IntegrationTestConfig(
|
|
name: "Basic Marketplace and payout tests",
|
|
testFile: "./integration/testmarketplace",
|
|
startHardhat: true,
|
|
),
|
|
# IntegrationTestConfig(testFile: "./integration/testproofs", startHardhat: true),
|
|
# IntegrationTestConfig(testFile: "./integration/testvalidator", startHardhat: true),
|
|
IntegrationTestConfig(
|
|
name: "Erasure Coding Bug",
|
|
testFile: "./integration/testecbug",
|
|
startHardhat: true,
|
|
)
|
|
]
|
|
|
|
proc run() {.async.} =
|
|
let manager = TestManager.new(
|
|
configs = TestConfigs, debugTestHarness = true, debugHardhat = false
|
|
)
|
|
try:
|
|
trace "starting test manager"
|
|
await manager.start()
|
|
finally:
|
|
trace "stopping test manager"
|
|
await manager.stop()
|
|
|
|
waitFor run()
|