Dhruba Borthakur
de7689b1d7
Fix unit test failure caused by delaying deleting obsolete files.
...
Summary:
A previous commit 4c107587ed47af84633f8c61f65516a504d6cd98 introduced
the idea that some version updates might not delete obsolete files.
This means that if a unit test blindly counts the number of files
in the db directory it might not represent the true state of the database.
Use GetLiveFiles() insteads to count the number of live files in the database.
Test Plan:
make check
2012-10-29 11:12:24 -07:00
..
2012-08-27 21:24:17 -07:00
2011-10-31 17:22:06 +00:00
2012-08-28 11:43:33 -07:00
2012-09-06 17:52:08 -07:00
2012-06-27 14:36:31 -07:00
2012-10-29 10:17:43 -07:00
2012-09-25 03:13:25 -07:00
2012-10-29 10:17:43 -07:00
2012-10-29 10:17:43 -07:00
2011-10-31 17:22:06 +00:00
2011-10-31 17:22:06 +00:00
2012-05-30 16:42:45 -07:00
2012-09-16 19:33:43 -07:00
2012-10-29 11:12:24 -07:00
2011-10-31 17:22:06 +00:00
2012-04-17 08:36:46 -07:00
2012-06-27 14:36:31 -07:00
2011-10-31 17:22:06 +00:00
2012-09-06 17:52:08 -07:00
2012-09-06 17:52:08 -07:00
2011-10-31 17:22:06 +00:00
2011-10-31 17:22:06 +00:00
2011-10-31 17:22:06 +00:00
2011-10-31 17:22:06 +00:00
2011-10-31 17:22:06 +00:00
2011-10-31 17:22:06 +00:00
2011-10-31 17:22:06 +00:00
2011-10-31 17:22:06 +00:00
2012-06-27 14:36:31 -07:00
2011-10-31 17:22:06 +00:00
2012-05-11 09:57:40 -07:00
2011-10-31 17:22:06 +00:00
2012-09-28 11:10:52 -07:00
2012-09-28 11:10:52 -07:00
2012-06-27 14:36:31 -07:00
2012-08-29 14:24:51 -07:00
2012-06-27 14:36:31 -07:00
2011-10-31 17:22:06 +00:00
2012-10-22 10:00:25 -07:00
2012-10-29 10:17:43 -07:00
2012-03-08 16:23:21 -08:00
2012-03-08 16:23:21 -08:00
2012-03-08 16:23:21 -08:00