Skip to content

Commit

Permalink
Remove second unlock attempt from tests
Browse files Browse the repository at this point in the history
Unlocking an already unlocked lock is not guaranteed to succeed
  • Loading branch information
Acconut committed Mar 23, 2017
1 parent d48e4ac commit cc1df8e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion filestore/filestore_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ func TestFileLocker(t *testing.T) {
a.NoError(locker.LockUpload("one"))
a.Equal(tusd.ErrFileLocked, locker.LockUpload("one"))
a.NoError(locker.UnlockUpload("one"))
a.NoError(locker.UnlockUpload("one"))
}

func TestConcatUploads(t *testing.T) {
Expand Down

0 comments on commit cc1df8e

Please sign in to comment.