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

[minion-cvs] Start writing unit tests for directory voting formats. ...



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

Modified Files:
	TODO 
Log Message:
Start writing unit tests for directory voting formats. Fix many bugs and conformance issues. Keen!

Index: TODO
===================================================================
RCS file: /home/minion/cvsroot/src/minion/TODO,v
retrieving revision 1.222
retrieving revision 1.223
diff -u -d -r1.222 -r1.223
--- TODO	15 Sep 2004 17:15:19 -0000	1.222
+++ TODO	13 Dec 2004 06:01:57 -0000	1.223
@@ -15,14 +15,14 @@
 For 0.0.8:
         o Better error messages on expired / not-yet-ready certificates,
           no matter how hard OpenSSL makes it.
-        . Dummies and pinging
+        o Dummies and pinging
                 o Refactor ClientDirectory to be more modular
                 o Retrying needs to be per-destination, not per-packet.
                         o Implement per-destination queue
                         o Tests for per-destination queue
                         o Make MMTP delivery use per-destination queue.
                         o Test upgrade path.
-                . Implement pinging
+                o Implement pinging
                         o Generate pings
                                 o Link padding
                                 o One-hop pings
@@ -31,8 +31,11 @@
                         o Grovel over ping logs as needed
                         o Generate statistics from logs; remember stats
                           across invocations.
-                        - Tests for pinging
-                - Pretty-print stats
+                        o Tests for pinging
+                o Save stats to disk
+                - Make more ping parameters configurable.
+                - Performance/data examination: is disk usage too insanely high?
+                - Document.  Describe how to replace sqlite with pg or mysql.
         . Distributed directories
                o Spec changes
                        D Statistics go in format?
@@ -56,7 +59,12 @@
                        o Validate multiple signatures
                        - Which sigs are valid?  Enough?
                        - Document how to change directory config
-                - Test everything
+                . Test everything
+                       . Test generating and parsing vote directory
+                       - Test computing result of vote
+                       - Test generating consensus directory
+                       - Test parsing consensus directory
+                       - Test actual directory code.
         . Bugs
                 o Make tests pass with bizarre umasks.  (Try 0077, 0000,
                   etc.)