mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-11 04:26:38 +00:00
ac97: Skip flaky reg check in unit test
If the builder context switch to other tasks right after the `bm.writeb`, then the results from `bm.readw` could be unexpected. BUG=chromium:1086337 TEST=Build Change-Id: I708b11ad3a556069a7b514f072222e913d91d643 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2330879 Reviewed-by: Dylan Reid <dgreid@chromium.org> Commit-Queue: Chih-Yang Hsia <paulhsia@chromium.org> Tested-by: Chih-Yang Hsia <paulhsia@chromium.org>
This commit is contained in:
parent
1d0f16005d
commit
36067153bf
1 changed files with 2 additions and 1 deletions
|
@ -1142,7 +1142,8 @@ mod test {
|
|||
|
||||
// Start.
|
||||
bm.writeb(PI_CR_0B, CR_IOCE | CR_RPBM, &mixer);
|
||||
assert_eq!(bm.readw(PI_PICB_08), 0);
|
||||
// TODO(crbug.com/1086337): Test flakiness in build time.
|
||||
// assert_eq!(bm.readw(PI_PICB_08), 0);
|
||||
|
||||
let mut stream = stream_source.get_last_stream();
|
||||
assert!(stream.trigger_callback_with_timeout(TIMEOUT));
|
||||
|
|
Loading…
Reference in a new issue