Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aff0a047 authored by Prabir Pradhan's avatar Prabir Pradhan Committed by Android (Google) Code Review
Browse files

Revert "Increase the test timeout used when waiting for events to be traced"

This reverts commit 59a530dc.

Reason for revert: b/323347575

Change-Id: Ia9f2d5986dfc945b2ffa6b6395dbc225f762cda1
parent 59a530dc
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -23,11 +23,7 @@ namespace android::inputdispatcher {

namespace {

// Use a larger timeout while waiting for events to be traced, compared to the timeout used while
// waiting to receive events through the input channel. Events are traced from a separate thread,
// which does not have the same high thread priority as the InputDispatcher's thread, so the tracer
// is expected to lag behind the Dispatcher at times.
constexpr auto TRACE_TIMEOUT = std::chrono::seconds(5);
constexpr auto TRACE_TIMEOUT = std::chrono::milliseconds(100);

base::ResultError<> error(const std::ostringstream& ss) {
    return base::ResultError(ss.str(), BAD_VALUE);