added reset after finishing test with x neighbors
diff --git a/TestON/tests/flowTP1g/flowTP1g.py b/TestON/tests/flowTP1g/flowTP1g.py
index cbbf2dd..24fa8d6 100644
--- a/TestON/tests/flowTP1g/flowTP1g.py
+++ b/TestON/tests/flowTP1g/flowTP1g.py
@@ -144,6 +144,17 @@
         import datetime
         import traceback
 
+        global currentNeighbors 
+        try: 
+            currentNeighbors
+        except: 
+            currentNeighbors = "0"
+        else: 
+            if currentNeighbors == "r":      #reset
+                currentNeighbors = "0"
+            else: 
+                currentNeighbors = "a"
+
         testCMD = [ 0,0,0,0 ]
         warmUp = int(main.params[ 'TEST' ][ 'warmUp' ])
         sampleSize = int(main.params[ 'TEST' ][ 'sampleSize' ])
@@ -165,13 +176,21 @@
 
 
         servers = str(clusterCount) 
-        for i in range(0, len(neighborList)):
-            if neighborList[i] == 'a':
-                neighborList[i] = str(clusterCount - 1)  
+        #for i in range(0, len(neighborList)):
+        #    if neighborList[i] == 'a':
+        #        neighborList[i] = str(clusterCount - 1)  
         
         if clusterCount == 1: 
             neighborList = ['0']
-        main.log.info("neightborlist: " + str(neighborList))
+            currentNeighbors = "r"
+        else: 
+            if currentNeighbors == "a": 
+                neighborList = [str(clusterCount-1)]
+                currentNeughbors = "r"
+            else:
+                neighborList = ['0']
+        
+        #main.log.info("neightborlist: " + str(neighborList))
 
         ts = time.time()
         st = datetime.datetime.fromtimestamp(ts).strftime('%Y-%m-%d %H:%M:%S')