summaryrefslogtreecommitdiffstats
path: root/tests/unit/benchmark/scenarios/networking
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2017-07-13 01:20:03 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-07-13 01:20:03 +0000
commitf83729d38eb396fe5a94be13a86865f9cd26d0f4 (patch)
treea7207a46f7f1c3be1a813f29d68d8d55cde5e29b /tests/unit/benchmark/scenarios/networking
parentb6d8765f2acbeefeb8e8f756b2243e8bac2a06b6 (diff)
parent6e130fa8a02be20a0436816c3a5269f7c941eeb3 (diff)
Merge "test_nstat: decrease sleep time for unittest"
Diffstat (limited to 'tests/unit/benchmark/scenarios/networking')
-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 131716727..d66e91790 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": 60
+ "duration": 0.1
}
args = {
"options": options,
@@ -67,7 +67,7 @@ class NstatTestCase(unittest.TestCase):
def test_nstat_successful_sla(self, mock_ssh):
options = {
- "duration": 60
+ "duration": 0.1
}
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": 60
+ "duration": 0.1
}
sla = {
"IP_datagram_error_rate": 0.1