aboutsummaryrefslogtreecommitdiff
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2012-07-13 18:40:20 -0700
committerZac Medico <zmedico@gentoo.org>2012-07-13 18:40:20 -0700
commitd6ef1ef4f77e5cae859a5becdc8388f6b2773956 (patch)
tree7c417dd0c26ab159a79b45915a3d7b0603160610 /pym
parentslotmove: fix handling for EAPI 4-slot-abi (diff)
downloadportage-d6ef1ef4f77e5cae859a5becdc8388f6b2773956.tar.gz
portage-d6ef1ef4f77e5cae859a5becdc8388f6b2773956.tar.bz2
portage-d6ef1ef4f77e5cae859a5becdc8388f6b2773956.zip
test_move_slot_ent: workaround for 1s timestamps
Diffstat (limited to 'pym')
-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])