Start cord test server within cord runTest
diff --git a/src/test/setup/cord-test.py b/src/test/setup/cord-test.py
index acfd704..71bfa3e 100755
--- a/src/test/setup/cord-test.py
+++ b/src/test/setup/cord-test.py
@@ -8,8 +8,6 @@
 from CordContainer import *
 from CordTestServer import cord_test_server_start, cord_test_server_stop
 
-test_server = cord_test_server_start()
-
 class CordTester(Container):
     sandbox = '/root/test'
     sandbox_setup = '/root/test/src/test/setup'
@@ -201,7 +199,8 @@
 onos_app_file = os.path.abspath('{0}/../apps/ciena-cordigmp-'.format(cord_tester_base) + onos_app_version + '.oar')
 
 def runTest(args):
-    global test_server
+    #Start the cord test tcp server
+    test_server = cord_test_server_start()
     tests = args.test_type.split('-')
     onos_cnt = {'tag':'latest'}
     nose_cnt = {'image': 'cord-test/nose','tag': 'latest'}