there is no reason to sleep for a whole
minute during unittest
Change-Id: I206229bcaa7a50af1859f7b04e521955bb6217d4
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
def test_nstat_successful_no_sla(self, mock_ssh):
options = {
- "duration": 60
+ "duration": 0.1
}
args = {
"options": options,
def test_nstat_successful_sla(self, mock_ssh):
options = {
- "duration": 60
+ "duration": 0.1
}
sla = {
"IP_datagram_error_rate": 0.1
def test_nstat_unsuccessful_cmd_error(self, mock_ssh):
options = {
- "duration": 60
+ "duration": 0.1
}
sla = {
"IP_datagram_error_rate": 0.1