Skip to content

Commit 9f033bf

Browse files
ethantkoenigappleboy
authored andcommitted
Make test more robust (#3167)
1 parent 2ad6333 commit 9f033bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

integrations/api_repo_lfs_locks_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ func TestAPILFSLocksLogged(t *testing.T) {
123123
assert.Len(t, lfsLocks.Locks, test.totalCount)
124124
for i, lock := range lfsLocks.Locks {
125125
assert.EqualValues(t, test.locksOwners[i].DisplayName(), lock.Owner.Name)
126-
assert.WithinDuration(t, test.locksTimes[i], lock.LockedAt, 1*time.Second)
126+
assert.WithinDuration(t, test.locksTimes[i], lock.LockedAt, 3*time.Second)
127127
}
128128

129129
req = NewRequestWithJSON(t, "POST", fmt.Sprintf("/%s.git/info/lfs/locks/verify", test.repo.FullName()), map[string]string{})

0 commit comments

Comments
 (0)