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()
