Skip to content

Commit c43bc6a

Browse files
author
José Valim
committed
Attempt to fix race condition on test by depending on last compiled file
1 parent 38aa5c5 commit c43bc6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mix/test/mix/umbrella_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ defmodule Mix.UmbrellaTest do
144144

145145
# Ensure we can measure a timestamp difference
146146
ensure_touched("../foo/lib/foo.ex",
147-
File.stat!("_build/dev/lib/foo/.compile.lock").mtime)
147+
File.stat!("_build/dev/lib/bar/.compile.lock").mtime)
148148

149149
Mix.Task.run "compile"
150150
assert Mix.Tasks.Compile.Elixir.run([]) == :noop

0 commit comments

Comments
 (0)