Skip to content

Commit 0bda876

Browse files
guillep2ksapk
authored andcommitted
Fix lfs locks (#8361)
* Extend time window for TestAPILFSLocksLogged
1 parent 740a0c4 commit 0bda876

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
@@ -126,7 +126,7 @@ func TestAPILFSLocksLogged(t *testing.T) {
126126
assert.Len(t, lfsLocks.Locks, test.totalCount)
127127
for i, lock := range lfsLocks.Locks {
128128
assert.EqualValues(t, test.locksOwners[i].DisplayName(), lock.Owner.Name)
129-
assert.WithinDuration(t, test.locksTimes[i], lock.LockedAt, 3*time.Second)
129+
assert.WithinDuration(t, test.locksTimes[i], lock.LockedAt, 10*time.Second)
130130
assert.EqualValues(t, lock.LockedAt.Format(time.RFC3339), lock.LockedAt.Format(time.RFC3339Nano)) //locked at should be rounded to second
131131
}
132132

0 commit comments

Comments
 (0)