Signed-off-by: Yuichi Ito <[email protected]>
---
 ryu/tests/switch/tester.py |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/ryu/tests/switch/tester.py b/ryu/tests/switch/tester.py
index c3830fc..7468c74 100644
--- a/ryu/tests/switch/tester.py
+++ b/ryu/tests/switch/tester.py
@@ -492,7 +492,7 @@ class OfTester(app_manager.RyuApp):
     def _test(self, state, *args):
         test = {STATE_INIT_FLOW: self._test_initialize_flow,
                 STATE_INIT_THROUGHPUT_FLOW: self._test_initialize_flow_tester,
-                STATE_INIT_METER: self._test_initialize_meter,
+                STATE_INIT_METER: self.target_sw.del_test_meter,
                 STATE_FLOW_INSTALL: self._test_msg_install,
                 STATE_THROUGHPUT_FLOW_INSTALL: self._test_msg_install,
                 STATE_METER_INSTALL: self._test_msg_install,
@@ -539,9 +539,6 @@ class OfTester(app_manager.RyuApp):
         msg = self.rcv_msgs[0]
         assert isinstance(msg, ofproto_v1_3_parser.OFPBarrierReply)
 
-    def _test_initialize_meter(self):
-        self.target_sw.del_test_meter()
-
     def _test_msg_install(self, datapath, message):
         xid = datapath.send_msg(message)
         self.send_msg_xids.append(xid)
-- 
1.7.10.4


------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to