aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pym/portage/tests/update/test_move_slot_ent.py5
1 files changed, 5 insertions, 0 deletions
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])