Fix unit tests that were broken after last fix of #932.
commitd49711e52c22e77e95c30660f78b19d4f6025d04
authorKarsten Loesing <karsten.loesing@gmx.net>
Wed, 27 May 2009 21:47:59 +0000 (27 23:47 +0200)
committerNick Mathewson <nickm@torproject.org>
Wed, 27 May 2009 22:04:55 +0000 (27 18:04 -0400)
tree6f26d6645faadb0c651a44ef8ea4f00116c097f3
parentec7e0546681f57a1ba1769cca2b8339f9b0dc8b0
Fix unit tests that were broken after last fix of #932.

With the last fix of task 932 (5f03d6c), client requests are only added to
the history when they happen after the start of the current history. This
conflicts with the unit tests that insert current requests first (defining
the start of the client request history) followed by requests in the past.
The fix is to insert requests in chronological order in the unit tests.
src/or/test.c