Merge "HA testcase containerized Compass support"
[yardstick.git] / tests / unit / network_services / vnf_generic / vnf / test_tg_rfc2544_trex.py
index ad45338..bca0780 100644 (file)
@@ -293,7 +293,8 @@ class TestTrexTrafficGenRFC(unittest.TestCase):
         file_path = os.path.join(curr_path, filename)
         return file_path
 
-    def test__traffic_runner(self):
+    @mock.patch("yardstick.network_services.vnf_generic.vnf.tg_rfc2544_trex.time")
+    def test__traffic_runner(self, mock_time):
         mock_traffic_profile = mock.Mock(autospec=TrafficProfile)
         mock_traffic_profile.get_traffic_definition.return_value = "64"
         mock_traffic_profile.execute.return_value = "64"