bzr: attempt to stabilize the test
authorPierre-Yves David <pierre-yves.david@octobus.net>
Wed, 11 Sep 2024 20:52:51 +0200
changeset 51843 fe08a0bfa9fd
parent 51842 3785814bc2b7
child 51844 76387080f238
bzr: attempt to stabilize the test The test has flakyness where the order of a few commit swap. This is an attempt at avoiding that.
tests/test-convert-bzr.t
--- a/tests/test-convert-bzr.t	Thu Sep 12 02:24:20 2024 +0200
+++ b/tests/test-convert-bzr.t	Wed Sep 11 20:52:51 2024 +0200
@@ -222,6 +222,7 @@
   $ cd repo-trunk
   $ echo a > a
   $ brz add -q a
+  $ sleep 1 # help with sorting
   $ brz ci -qm adda
   $ brz tag trunk-tag
   Created tag trunk-tag.
@@ -237,6 +238,7 @@
   Updated to revision 1.
   Switched to branch*/repo/trunk/ (glob)
   $ echo a >> a
+  $ sleep 1 # help with sorting
   $ brz ci -qm changea
   $ cd ..
   $ hg convert --datesort repo repo-bzr