fix rebase, formatting

This commit is contained in:
Eric 2025-01-22 16:25:52 +11:00
parent 14deded37c
commit 7af807bb6c
No known key found for this signature in database
3 changed files with 25 additions and 21 deletions

View File

@ -60,24 +60,28 @@ asyncchecksuite "Command line interface":
await node.stop(expectedErrCode = 1)
test "suggests downloading of circuit files when persistence is enabled without accessible wasm file":
let node = await startCodex(@[
"persistence",ß
"--eth-provider=" & "http://127.0.0.1:" & $HardhatPort,
"prover",
marketplaceArg,
"--circom-r1cs=tests/circuits/fixtures/proof_main.r1cs"
])
let node = await startCodex(
@[
"persistence",
"--eth-provider=" & "http://127.0.0.1:" & $HardhatPort,
"prover",
marketplaceArg,
"--circom-r1cs=tests/circuits/fixtures/proof_main.r1cs"
]
)
await node.waitUntilOutput(expectedDownloadInstruction)
await node.stop(expectedErrCode = 1)
test "suggests downloading of circuit files when persistence is enabled without accessible zkey file":
let node = await startCodex(@[
"persistence",
"--eth-provider=" & "http://127.0.0.1:" & $HardhatPort,
"prover",
marketplaceArg,
"--circom-r1cs=tests/circuits/fixtures/proof_main.r1cs",
"--circom-wasm=tests/circuits/fixtures/proof_main.wasm"
])
let node = await startCodex(
@[
"persistence",
"--eth-provider=" & "http://127.0.0.1:" & $HardhatPort,
"prover",
marketplaceArg,
"--circom-r1cs=tests/circuits/fixtures/proof_main.r1cs",
"--circom-wasm=tests/circuits/fixtures/proof_main.wasm"
]
)
await node.waitUntilOutput(expectedDownloadInstruction)
await node.stop(expectedErrCode = 1)

View File

@ -208,7 +208,7 @@ twonodessuite "REST API":
let headers = newHttpHeaders(
{
"Content-Type": "text/plain",
"Content-Disposition": "attachment; filename=\"example.txt\"",
"Content-Disposition": "attachment; filename=\"example.txt\""
}
)
let uploadResponse = client1.uploadRaw("some file contents", headers)
@ -236,7 +236,7 @@ twonodessuite "REST API":
let headers = newHttpHeaders(
{
"Content-Disposition": "attachment; filename=\"example.txt\"",
"Content-Type": "text/plain",
"Content-Type": "text/plain"
}
)

View File

@ -39,7 +39,7 @@ proc run() {.async.} =
# Echoes stdout from the integration test file process. Codex process logs can
# also be output if a test uses a multinodesuite, requires CodexConfig.debug
# to be enabled
const debugCodexNodes = false
const debugCodexNodes = true
# Shows test status updates at time intervals. Useful for running locally with
# active terminal interaction. Set to false for unattended runs, eg CI.
const showContinuousStatusUpdates = true
@ -51,8 +51,8 @@ proc run() {.async.} =
fgBlack, styleBright, "\n\n ", styleUnderscore,
"ADDITIONAL LOGGING AVAILABILE\n\n", resetStyle, bgWhite, fgBlack, styleBright,
"""
More integration test harness logs available by running with
-d:chronicles_log_level=TRACE, eg:""",
More integration test harness logs available by running with
-d:chronicles_log_level=TRACE, eg:""",
resetStyle, bgWhite, fgBlack,
"\n\n nim c -d:chronicles_log_level=TRACE -r ./testIntegration.nim\n\n"
@ -63,7 +63,7 @@ More integration test harness logs available by running with
"""
For integration test suites that are multinodesuites, or for
tests launching a CodexProcess, ensure that CodexConfig.debug
is enabled.
is enabled to see chronicles logs.
"""
let manager = TestManager.new(