[go: nahoru, domu]

Disable flaky ProcessOutputWatcherTest cases

Bug: 1395483
Change-Id: I0255efa7a644b67108d0be756e7071d94f2e7ad4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4074643
Commit-Queue: Liviu Tinta <liviutinta@chromium.org>
Owners-Override: Alison Gale <agale@chromium.org>
Auto-Submit: Alison Gale <agale@chromium.org>
Reviewed-by: Liviu Tinta <liviutinta@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1078785}
diff --git a/chromeos/process_proxy/process_output_watcher_unittest.cc b/chromeos/process_proxy/process_output_watcher_unittest.cc
index 5ee94110..4c9bad23 100644
--- a/chromeos/process_proxy/process_output_watcher_unittest.cc
+++ b/chromeos/process_proxy/process_output_watcher_unittest.cc
@@ -271,7 +271,8 @@
   RunTest(test_cases);
 }
 
-TEST_F(ProcessOutputWatcherTest, MulitByteUTF8CharNullTerminated) {
+// TODO(crbug.com/1395483) Re-enable test
+TEST_F(ProcessOutputWatcherTest, DISABLED_MultiByteUTF8CharNullTerminated) {
   std::vector<TestCase> test_cases;
   test_cases.push_back(TestCase("test\xe2\x82\xac", true, "test\xe2\x82\xac"));
 
@@ -302,7 +303,8 @@
   RunTest(test_cases);
 }
 
-TEST_F(ProcessOutputWatcherTest, EndsWithInvalidUTF8) {
+// TODO(crbug.com/1395483) Re-enable test
+TEST_F(ProcessOutputWatcherTest, DISABLED_EndsWithInvalidUTF8) {
   std::vector<TestCase> test_cases;
   test_cases.push_back(TestCase("\xff", false, "\xff"));
 
@@ -320,7 +322,8 @@
 
 // Verifies that sending '\0' generates PROCESS_OUTPUT_TYPE_OUT event and does
 // not terminate output watcher.
-TEST_F(ProcessOutputWatcherTest, SendNull) {
+// TODO(crbug.com/1395483) Re-enable test
+TEST_F(ProcessOutputWatcherTest, DISABLED_SendNull) {
   std::vector<TestCase> test_cases;
   // This will send '\0' to output watcher.
   test_cases.push_back(TestCase("", true));