Adding subscriber test to use sqlite database for subscriber info before running the join tests.
diff --git a/src/test/tls/tlsAuthTest.py b/src/test/tls/tlsAuthTest.py
index bc764af..c239f38 100644
--- a/src/test/tls/tlsAuthTest.py
+++ b/src/test/tls/tlsAuthTest.py
@@ -11,6 +11,8 @@
def setUp(self):
self.onos_ctrl = OnosCtrl(self.app)
+ self.onos_ctrl.deactivate()
+ time.sleep(2)
self.onos_aaa_config()
def onos_aaa_config(self):
@@ -18,8 +20,8 @@
'radiusIp': '172.17.0.2' } } } }
radius_ip = os.getenv('ONOS_AAA_IP') or '172.17.0.2'
aaa_dict['apps']['org.onosproject.aaa']['AAA']['radiusIp'] = radius_ip
- #self.onos_ctrl.activate()
- #time.sleep(2)
+ self.onos_ctrl.activate()
+ time.sleep(2)
self.onos_load_config(aaa_dict)
def onos_load_config(self, config):
@@ -27,7 +29,7 @@
if status is False:
log.info('Configure request for AAA returned status %d' %code)
assert_equal(status, True)
- time.sleep(4)
+ time.sleep(3)
def test_eap_tls(self):
tls = TLSAuthTest()