commit | 5d0f7cc5afdc3f1a83ba30b8968522060dd1484f | [log] [tgz] |
---|---|---|
author | Dan Talayco <dan.talayco@bigswitch.com> | Wed Sep 19 11:28:58 2012 -0700 |
committer | Dan Talayco <dan.talayco@bigswitch.com> | Wed Sep 19 11:28:58 2012 -0700 |
tree | 01ccf6f6d33bb27aa8f950a6ccddfacbd47738a5 | |
parent | a6cea8bcebad16cf787960deac7b85eedee2f39e [diff] |
By default, respond to echo requests
diff --git a/tests/basic.py b/tests/basic.py index 0d90273..0171766 100644 --- a/tests/basic.py +++ b/tests/basic.py
@@ -92,6 +92,10 @@ #@todo Add an option to wait for a pkt transaction to ensure version # compatibilty? self.controller.connect(timeout=20) + + # By default, respond to echo requests + self.controller.keep_alive = True + if not self.controller.active: raise Exception("Controller startup failed") if self.controller.switch_addr is None: