mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 01:07:18 +03:00
15b1058a3f
Doctests generate a temporary file in .daml/generated. This works fine as long as you only run one instance at the same time. However, those tests here run in parallel and they run in the same working directory even though we create a temporary directory for the source file. This means that occasionally (very rarely, I still haven’t managed to reproduce it locally) the two tests overwrote each other’s file and you end up with a mess. There are two solutions here: 1. Disable parallel tests. 2. Remove the working directory as global state and instead use tmpDir as the working directory. Nobody likes global state so I went with 2. I ran 500 iterations of this test on CI on all 3 platforms and got not a single failure so I’m reasonably confident this fixes the issue. changelog_begin changelog_end |
||
---|---|---|
.. | ||
daml-extension | ||
daml-lf-ast | ||
daml-lf-proto | ||
daml-lf-reader | ||
daml-lf-tools | ||
daml-lf-verify | ||
daml-licenses | ||
damlc | ||
ghcide | ||
hie-core | ||
lsp-tests | ||
repl-service | ||
scenario-service | ||
README.md |
DAML Compiler
This directory contains several libraries used by and the executable for the DAML compiler.
Libraries
daml-lf-ast
: The DAML-LF AST and type checker.