aboutsummaryrefslogtreecommitdiffstats
path: root/worktree_commit_test.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2021-03-26 17:17:31 +0100
committerMáximo Cuadros <mcuadros@gmail.com>2021-03-26 17:17:31 +0100
commit9d995cb7bb620f284c935979b6d6066fe2c63a8b (patch)
treeb718c80741b4ec00e8b31369c182da6b535f606d /worktree_commit_test.go
parente5bbc4d10904554dbc8fd5afd06f66814f7b173e (diff)
downloadgo-git-9d995cb7bb620f284c935979b6d6066fe2c63a8b.tar.gz
*: fix flaky test
Diffstat (limited to 'worktree_commit_test.go')
-rw-r--r--worktree_commit_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/worktree_commit_test.go b/worktree_commit_test.go
index cb94a2b..f6a4e71 100644
--- a/worktree_commit_test.go
+++ b/worktree_commit_test.go
@@ -289,7 +289,7 @@ func (s *WorktreeSuite) TestJustStoreObjectsNotAlreadyStored(c *C) {
c.Assert(err, IsNil) // checking objects file exists
// Step 2: Write foo.
- time.Sleep(1 * time.Millisecond) // uncool, but we need to get different timestamps...
+ time.Sleep(5 * time.Millisecond) // uncool, but we need to get different timestamps...
util.WriteFile(fs, "foo", []byte("foo"), 0644)
hFoo, err := w.Add("foo")
c.Assert(err, IsNil)