aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/java/com/google/devtools/build/lib/concurrent/AbstractQueueVisitorTest.java
diff options
context:
space:
mode:
authorGravatar Nathan Harmata <nharmata@google.com>2015-10-19 20:08:48 +0000
committerGravatar Philipp Wollermann <philwo@google.com>2015-10-20 16:36:07 +0000
commit98ea68a20ddd58f1ee4bb67410484a1c8794556a (patch)
tree298fc1ff455e6ba37a34e15781f4f3e2e9e41b1f /src/test/java/com/google/devtools/build/lib/concurrent/AbstractQueueVisitorTest.java
parent853cd73b0025fb86b3c042320d824a4eb4447dc4 (diff)
Don't log SchedulerExceptions.
RELNOTES: None -- MOS_MIGRATED_REVID=105787681
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/concurrent/AbstractQueueVisitorTest.java')
-rw-r--r--src/test/java/com/google/devtools/build/lib/concurrent/AbstractQueueVisitorTest.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/concurrent/AbstractQueueVisitorTest.java b/src/test/java/com/google/devtools/build/lib/concurrent/AbstractQueueVisitorTest.java
index 19b4274267..e7798bcd85 100644
--- a/src/test/java/com/google/devtools/build/lib/concurrent/AbstractQueueVisitorTest.java
+++ b/src/test/java/com/google/devtools/build/lib/concurrent/AbstractQueueVisitorTest.java
@@ -533,8 +533,8 @@ public class AbstractQueueVisitorTest {
}
@Override
- protected boolean isCriticalError(Throwable e) {
- return true;
+ protected ErrorClassification classifyError(Throwable e) {
+ return ErrorClassification.CRITICAL;
}
}
@@ -545,8 +545,8 @@ public class AbstractQueueVisitorTest {
}
@Override
- protected boolean isCriticalError(Throwable e) {
- return false;
+ protected ErrorClassification classifyError(Throwable e) {
+ return ErrorClassification.NOT_CRITICAL;
}
}
}