forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Rust Mojo tests with ipcz enabled
Addresses a few test failures that appeared when turning on MojoIpcz by default. 1. ipcz data pipes were not properly guarding against an immediate read overlapping with a two-phase read. 2. The trap_signals_on_readable_unwritable and safe_trap tests were both testing traps that watch for unsatisfied signals, but this feature has no production uses and was therefore omitted from MojoIpcz. These tests have been updated to not exercise that feature, while preserving other coverage. Fixed: 1418865 Change-Id: I9d1a1fb380292e6fdcaa6d08b8648e13a261e2f6 Cq-Include-Trybots: luci.chromium.try:linux-rust-x64-rel Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4289768 Commit-Queue: Ken Rockot <rockot@google.com> Reviewed-by: Collin Baker <collinbaker@chromium.org> Cr-Commit-Position: refs/heads/main@{#1109617}
- Loading branch information
Showing
2 changed files
with
21 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters