def setUp(self):
super(TestSCTP, self).setUp()
self.vapi.session_enable_disable(is_enabled=1)
- self.create_loopback_interfaces(range(2))
+ self.create_loopback_interfaces(2)
table_id = 0
self.logger.critical(error)
self.assertEqual(error.find("failed"), -1)
- error = self.vapi.cli("test echo client mbytes 10 appns 1" +
+ error = self.vapi.cli("test echo client mbytes 10" +
+ " appns 1" +
" fifo-size 4" +
- " no-output test-bytes syn-timeout 20 " +
+ " no-output test-bytes syn-timeout 3" +
+ " test-timeout 30" +
" uri " + uri)
if error:
self.logger.critical(error)