UinputRecordingIntegrationTests: Extend device lifetime to avoid racing
To avoid race conditions between the injection of the last event and the processing of the device hangup, we will avoid terminating the uinput shell command until the test successfully verifies that all events are received. To get around an unexpected behavior of the uinput command in interactive mode, we inject an extra sync event at the end of the evemu recording playback. Bug: 366612213 Test: atest UinputRecordingIntegrationTest Flag: TEST_ONLY Change-Id: I021b26ec628711466ddaa3f1c21ff0caf315d1e1
Loading
Please register or sign in to comment