From d6ef1ef4f77e5cae859a5becdc8388f6b2773956 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 13 Jul 2012 18:40:20 -0700 Subject: test_move_slot_ent: workaround for 1s timestamps --- pym/portage/tests/update/test_move_slot_ent.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pym/portage/tests/update/test_move_slot_ent.py b/pym/portage/tests/update/test_move_slot_ent.py index 64475bcd5..930aa7733 100644 --- a/pym/portage/tests/update/test_move_slot_ent.py +++ b/pym/portage/tests/update/test_move_slot_ent.py @@ -119,6 +119,11 @@ class MoveSlotEntTestCase(TestCase): finally: portage.util.noiselimit = global_noiselimit + # Workaround for cache validation not working + # correctly when filesystem has timestamp precision + # of 1 second. + vardb._clear_cache() + # 0/2.30 -> 2/2.30 self.assertEqual("2/2.30", vardb.aux_get("dev-libs/A-1", ["SLOT"])[0]) -- cgit v1.2.3-1-g7c22