From 42bef8d418a8f981889a54e6e4b120f6243e54bc Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Mon, 24 Jun 2019 09:44:21 -0700 Subject: [PATCH] run_unitests: Skip the native_file_is_pipe test on cygwin Since it hangs and causes azure to time out. --- run_unittests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/run_unittests.py b/run_unittests.py index 881aec523..0749f07f3 100755 --- a/run_unittests.py +++ b/run_unittests.py @@ -5819,7 +5819,8 @@ class NativeFileTests(BasePlatformTests): '--native-file', config, '--native-file', config2, '-Dcase=find_program']) - @unittest.skipIf(os.name != 'posix', 'Uses fifos, which are not available on non Unix OSes.') + # This test hangs on cygwin. + @unittest.skipIf(os.name != 'posix' or is_cygwin(), 'Uses fifos, which are not available on non Unix OSes.') def test_native_file_is_pipe(self): fifo = os.path.join(self.builddir, 'native.file') os.mkfifo(fifo)