tests/test-bundle2-format.t
changeset 27539 23541bdd1610
parent 26772 d9a0cf97651e
child 28238 b57d45ec33b2
--- a/tests/test-bundle2-format.t	Wed Dec 23 16:22:20 2015 -0800
+++ b/tests/test-bundle2-format.t	Wed Dec 23 16:22:20 2015 -0800
@@ -13,7 +13,7 @@
   > code. We still need to be able to test it while it grow up.
   > """
   > 
-  > import sys, os
+  > import sys, os, gc
   > from mercurial import cmdutil
   > from mercurial import util
   > from mercurial import bundle2
@@ -158,6 +158,7 @@
   >                 # too zealous. It's important for this test that the break
   >                 # occur while we're in the middle of a part.
   >                 break
+  >         gc.collect()
   >         ui.write('fake timeout complete.\n')
   >         return
   >     try: