summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorwatanabe.fumitaka <watanabe.fumitaka1@gmail.com>2014-03-14 13:57:46 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2014-03-16 20:38:56 +0900
commit24b850f323564ba23150d9e76f52940ba0a45a1d (patch)
treebd002f11aaa8d86fe7b074be4320e3b3e34862d5
parente95a684aeeb736e6f97b4a08311ce68ef4dbe9fc (diff)
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 <watanabe.fumitaka1@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/tests/switch/tester.py2
1 files changed, 0 insertions, 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