From: Zac Medico Date: Sat, 14 Jul 2012 01:40:20 +0000 (-0700) Subject: test_move_slot_ent: workaround for 1s timestamps X-Git-Tag: v2.2.0_alpha119~4 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=d6ef1ef4f77e5cae859a5becdc8388f6b2773956;p=portage.git test_move_slot_ent: workaround for 1s timestamps --- 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])