aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2017-07-17 06:14:57 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-07-17 06:14:57 +0000
commitad60cea13e6b8a280636c289ef8a79f7e0f40de0 (patch)
tree6530df82058a074a93a790d077d38e19396375df
parent48c0cb1b5f3ccd023df1c4ae708236d2f459bfa8 (diff)
parent8f93e4c0602a315a154005bc0de6b58830d7a733 (diff)
Merge "test_nstat: speedup unittests, sleep for 0 seconds"
-rw-r--r--tests/unit/benchmark/scenarios/networking/test_nstat.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/benchmark/scenarios/networking/test_nstat.py b/tests/unit/benchmark/scenarios/networking/test_nstat.py
index d66e91790..fe44cfdf4 100644
--- a/tests/unit/benchmark/scenarios/networking/test_nstat.py
+++ b/tests/unit/benchmark/scenarios/networking/test_nstat.py
@@ -43,7 +43,7 @@ class NstatTestCase(unittest.TestCase):
def test_nstat_successful_no_sla(self, mock_ssh):
options = {
- "duration": 0.1
+ "duration": 0
}
args = {
"options": options,
@@ -67,7 +67,7 @@ class NstatTestCase(unittest.TestCase):
def test_nstat_successful_sla(self, mock_ssh):
options = {
- "duration": 0.1
+ "duration": 0
}
sla = {
"IP_datagram_error_rate": 0.1
@@ -95,7 +95,7 @@ class NstatTestCase(unittest.TestCase):
def test_nstat_unsuccessful_cmd_error(self, mock_ssh):
options = {
- "duration": 0.1
+ "duration": 0
}
sla = {
"IP_datagram_error_rate": 0.1