Remove second unlock attempt from tests
Unlocking an already unlocked lock is not guaranteed to succeed
This commit is contained in:
parent
d48e4ac577
commit
cc1df8e9ed
|
@ -95,7 +95,6 @@ func TestFileLocker(t *testing.T) {
|
||||||
a.NoError(locker.LockUpload("one"))
|
a.NoError(locker.LockUpload("one"))
|
||||||
a.Equal(tusd.ErrFileLocked, locker.LockUpload("one"))
|
a.Equal(tusd.ErrFileLocked, locker.LockUpload("one"))
|
||||||
a.NoError(locker.UnlockUpload("one"))
|
a.NoError(locker.UnlockUpload("one"))
|
||||||
a.NoError(locker.UnlockUpload("one"))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestConcatUploads(t *testing.T) {
|
func TestConcatUploads(t *testing.T) {
|
||||||
|
|
Loading…
Reference in New Issue