Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sagemath#26968: add a doctest to catch ecl race in maxima init
We use a temporary `MAXIMA_USERDIR` so its empty, and we try to initialize maxima twice in parallel to entice the race. This temporary dir is placed within `DOT_SAGE` so it is easy to try different filesystems. The bug triggers more frequently if `DOT_SAGE` is in a high latency filesystem (e.g. sshfs on a non-local host). The next commit introduces a workaround for the bug.
- Loading branch information