[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[minion-cvs] Refactor and rewrite echolot-style one-hop ping result ...



Update of /home/minion/cvsroot/src/minion/lib/mixminion
In directory moria.mit.edu:/tmp/cvs-serv4929/lib/mixminion

Modified Files:
	test.py 
Log Message:
Refactor and rewrite echolot-style one-hop ping result calculation. Still need results, 2-hop chain calc, etc

Index: test.py
===================================================================
RCS file: /home/minion/cvsroot/src/minion/lib/mixminion/test.py,v
retrieving revision 1.205
retrieving revision 1.206
diff -u -d -r1.205 -r1.206
--- test.py	2 Dec 2004 23:39:02 -0000	1.205
+++ test.py	7 Dec 2004 00:15:14 -0000	1.206
@@ -7759,6 +7759,7 @@
         log.gotPing("BL"*10) #Never sent.
         log.rotate()
         log.calculateUptimes(time.time()-1000, time.time())
+        log.calculateOneHopResults()
         log.shutdown()
         #log.calculateDailyResults( ) #XXXX TEST
         log.close()
@@ -7799,7 +7800,7 @@
     loader = unittest.TestLoader()
     tc = loader.loadTestsFromTestCase
 
-    if 1:
+    if 0:
         suite.addTest(tc(PingerTests))
         return suite
     testClasses = [MiscTests,