From 57231c71ec5da6c65a01e4f9897cf49925614b77 Mon Sep 17 00:00:00 2001 From: Kevin Krakauer Date: Mon, 20 Mar 2023 11:08:39 -0700 Subject: [PATCH] python: exclude flaky test_control_and_wait The test uses poll() incorrectly and flakes. Attempting to fix upstream: https://github.com/python/cpython/issues/102795 PiperOrigin-RevId: 518021055 --- test/runtimes/proctor/lib/python.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/runtimes/proctor/lib/python.go b/test/runtimes/proctor/lib/python.go index 9854205977..0684331c9a 100644 --- a/test/runtimes/proctor/lib/python.go +++ b/test/runtimes/proctor/lib/python.go @@ -120,6 +120,9 @@ var exclude = map[string][]string{ "UDPLITETimeoutTest.testTimeoutZero", "UDPLITETimeoutTest.testUDPLITETimeout", }, + // TODO(b/274167897): Un-exclude test cases once this is patched upstream. + // The test is broken: https://github.com/python/cpython/issues/102795 + "test_epoll": []string{"TestEPoll.test_control_and_wait"}, } // Some python test libraries contain other test libraries that have test cases