From 24b850f323564ba23150d9e76f52940ba0a45a1d Mon Sep 17 00:00:00 2001 From: "watanabe.fumitaka" Date: Fri, 14 Mar 2014 13:57:46 +0900 Subject: sw test tool: avoid test termination in initialization The initialization error of the flow tables causes forced termination of the test, and has become the hindrance of execution of other tests. This patch changes operation of the flow tables initialization error to avoid forced termination of the test. Signed-off-by: WATANABE Fumitaka Signed-off-by: FUJITA Tomonori --- ryu/tests/switch/tester.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/ryu/tests/switch/tester.py b/ryu/tests/switch/tester.py index 59101e18..b7bc68b4 100644 --- a/ryu/tests/switch/tester.py +++ b/ryu/tests/switch/tester.py @@ -359,8 +359,6 @@ class OfTester(app_manager.RyuApp): or result == 'An unknown exception'): self.logger.error(traceback.format_exc()) - if result[0] != TEST_OK and self.state == STATE_INIT: - self._test_end('--- Test terminated ---') hub.sleep(0) return result_type -- cgit v1.2.3