mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-08 16:33:11 +00:00
Remove noCancel from captureProcessOutput call
This commit is contained in:
parent
c1b36e7f21
commit
389ce830d9
@ -558,7 +558,7 @@ proc start(test: IntegrationTest) {.async: (raises: []).} =
|
||||
test.status = IntegrationTestStatus.Error
|
||||
return
|
||||
|
||||
var futCaptureOutput: Future[(seq[string], seq[string])].Raising([])
|
||||
var futCaptureOutput: Future[(seq[string], seq[string])].Raising([CancelledError])
|
||||
defer:
|
||||
# called at the end of successful runs but also when `start` is cancelled
|
||||
# (from `untilTimeout`) due to a timeout. This defer runs first before
|
||||
@ -568,7 +568,7 @@ proc start(test: IntegrationTest) {.async: (raises: []).} =
|
||||
|
||||
var output = TestOutput.new()
|
||||
test.output = success(output)
|
||||
futCaptureOutput = noCancel test.captureProcessOutput()
|
||||
futCaptureOutput = test.captureProcessOutput()
|
||||
|
||||
output.exitCode =
|
||||
try:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user