From 868d740cd4033c87b1d00acd92eac231d98752a5 Mon Sep 17 00:00:00 2001 From: hexiujun Date: Thu, 12 Mar 2020 16:15:22 +0800 Subject: [PATCH] disable test_show_coalesce_eth in VM --- tests/test_scripts.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/test_scripts.py b/tests/test_scripts.py index 6db3aac..1d91203 100755 --- a/tests/test_scripts.py +++ b/tests/test_scripts.py @@ -108,9 +108,7 @@ generic receive offload: on for expected_start, line in zip(expected_lines_start, lines): self.assertTrue(line.startswith(expected_start)) - @unittest.skipIf('TRAVIS' in os.environ and os.environ['TRAVIS'] == 'true', - 'Skipping this test on Travis CI because show ' - 'coalesce is not supported on ethernet device in VM.') + @unittest.skip('show coalesce is not supported on ethernet device in VM.') def test_show_coalesce_eth(self): self.assertIsNone(peth.show_coalesce(device)) expected_lines_start = ['Coalesce parameters for', -- 1.8.3.1