Skip to content

Commit 4ef265f

Browse files
authored
Delay file removal (#674)
Fixes a test failure that manifests only on Windows.
1 parent 119b686 commit 4ef265f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/interpret.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,10 @@ function f_mmap()
615615
@test b_mmap == x
616616
finally
617617
finalize(b_mmap)
618-
rm(tmp)
618+
Threads.@spawn begin
619+
sleep(5)
620+
rm(tmp)
621+
end
619622
end
620623
end
621624
@interpret f_mmap()

0 commit comments

Comments
 (0)