test(files): fix e2e tests

This commit is contained in:
hexxa 2021-08-15 17:26:23 +08:00 committed by Hexxa
parent 7b2c185686
commit 55764efd40
4 changed files with 31 additions and 32 deletions

View file

@ -323,7 +323,6 @@ func (h *FileHandlers) UploadChunk(c *gin.Context) {
return
}
userName := c.MustGet(q.UserParam).(string)
tmpFilePath := q.UploadPath(userName, req.Path)
locker := h.NewAutoLocker(c, lockName(tmpFilePath))
locker.Exec(func() {