JuliaLang/julia

Replace uses of tempname in CI by mktemp

Open

#43.597 aberto em 29 de dez. de 2021

Ver no GitHub
 (10 comments) (0 reactions) (0 assignees)Julia (5.773 forks)batch import
cigood first issuehelp wanted

Métricas do repositório

Stars
 (48.709 stars)
Métricas de merge de PR
 (Mesclagem média 20d 6h) (157 fundiu PRs em 30d)

Description

As of #38879 our temp path generation depends on the global RNG. That's probably not a bad idea in general, except that various parts of the test suite seed the global RNG, so this will cause reliable collisions in the test suite, so we'll get in trouble with tests stomping on each other. We should audit all uses of tempname in the test suite and replace them with mktemp unless they test the tempname function specifically.

Guia do colaborador