aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/java/com/google/devtools
diff options
context:
space:
mode:
authorGravatar ulfjack <ulfjack@google.com>2018-02-05 09:07:24 -0800
committerGravatar Copybara-Service <copybara-piper@google.com>2018-02-05 09:10:03 -0800
commit5a48ecc2f2faf340a66a06fe67b0f200da8de9f3 (patch)
tree23b3eb6b4f49f020320746b4efbd024974c45ffe /src/test/java/com/google/devtools
parentf0d3715816ad775089769ee677fc4177f657596b (diff)
Pass ctime to the TimestampGranularityMonitor
We're now using ctime to detect file changes, so the timestamp granularity monitor should as well. Unfortunately, we currently get nanosecond ctime from Linux, but then only return millis from FileStatus, so this doesn't change the accuracy of the monitor at all. PiperOrigin-RevId: 184536539
Diffstat (limited to 'src/test/java/com/google/devtools')
-rw-r--r--src/test/java/com/google/devtools/build/lib/skyframe/ParallelBuilderTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/skyframe/ParallelBuilderTest.java b/src/test/java/com/google/devtools/build/lib/skyframe/ParallelBuilderTest.java
index cd5b31768f..b03a0e9eae 100644
--- a/src/test/java/com/google/devtools/build/lib/skyframe/ParallelBuilderTest.java
+++ b/src/test/java/com/google/devtools/build/lib/skyframe/ParallelBuilderTest.java
@@ -283,7 +283,7 @@ public class ParallelBuilderTest extends TimestampBuilderTestCase {
@Override
public long getLastChangeTime() throws IOException {
- return original.getLastChangeTime();
+ throw new IOException();
}
};
}