Temporarily disable the CommandUsingProcessWrapperTest system time upper bound check as it is intermittently failing under very heavy load.
RELNOTES: None.
@@ -46,7 +46,9 @@ public class ExecutionStatisticsTestUtil {
Duration userTimeLowerBound = userTimeToSpend;
Duration userTimeUpperBound = userTimeToSpend.plusSeconds(9);
Duration systemTimeLowerBound = systemTimeToSpend;
- Duration systemTimeUpperBound = systemTimeToSpend.plusSeconds(9);
+
+ // TODO(b/110456205) This check fails under very heavy load, investigate why and re-enable it
+ // Duration systemTimeUpperBound = systemTimeToSpend.plusSeconds(9);
Command command = new Command(fullCommandLine.toArray(new String[0]));
CommandResult commandResult = command.execute();
@@ -62,6 +64,8 @@ public class ExecutionStatisticsTestUtil {
Duration systemTime = resourceUsage.get().getSystemExecutionTime();
assertThat(systemTime).isAtLeast(systemTimeLowerBound);
- assertThat(systemTime).isAtMost(systemTimeUpperBound);
+
+ // TODO(b/110456205) This check fails under very heavy load, investigate why and re-enable it
+ // assertThat(systemTime).isAtMost(systemTimeUpperBound);
}
}
