Adding sleep in scripted test to make sure timestamp bumps#2565
Adding sleep in scripted test to make sure timestamp bumps#2565
Conversation
|
In #2523 I've been seeing flaky failures in the new test |
|
Assuming that the underlying issue is the change detection via last modified date, two alternatives I can think of are:
|
|
I wonder if we can treat timestamp == timestamp case to be invalidated. This might also require another |
|
I have never seen this problem on my Mac. Is time resolution on Travis filesystem lower? |
|
@smarter, did you encounter the problem you describe on your local machine? |
|
I didn't manage to get |
Fixes #2546. Ref #958/#965
scripted compiler-project/error-in-invalidatedhas been failingfrequently on Travis CI. It seems like incremental compiler is not
catching the change in source for
changes/A2.scala.Perhaps the machines are getting fast enough that we are doing three compilations within 1s?
/review @gkossakowski, @Duhemm