Closed Renegatto closed 4 months ago
Currently when we attempt to run multiple Plutip clusters in parallel contracts fail with No utxos found.
No utxos found
The issue is in these lines:
startKupo cfg params = do tmpDir <- liftEffect tmpdir let workdir = tmpDir <</>> "kupo-db"
workdir will be the same for all kupo instances being run in the same test suite. Fix is simple - generate random kupo temp dir every time like this:
workdir
startKupo cfg params = do tmpDir <- liftEffect tmpdir workdir <- liftEffect $ (tmpDir <</>> _) <$> uniqueId "kupo-db"
Thanks! I would approve a PR.
@klntsky here it is, please review: #1605
Currently when we attempt to run multiple Plutip clusters in parallel contracts fail with
No utxos found
.The issue is in these lines:
workdir
will be the same for all kupo instances being run in the same test suite. Fix is simple - generate random kupo temp dir every time like this: