webdav test: increase log size

the latest 10 lines are not enough to understand the issue, try with 20
This commit is contained in:
Nicola Murino 2021-05-09 10:09:25 +02:00
parent 8f6cdacd00
commit 15934d72cc

View file

@ -1180,7 +1180,7 @@ func TestQuotaLimits(t *testing.T) {
// test quota files // test quota files
err = uploadFile(testFilePath, testFileName+".quota", testFileSize, client) err = uploadFile(testFilePath, testFileName+".quota", testFileSize, client)
if !assert.NoError(t, err, "username: %v", user.Username) { if !assert.NoError(t, err, "username: %v", user.Username) {
printLatestLogs(10) printLatestLogs(20)
} }
err = uploadFile(testFilePath, testFileName+".quota1", testFileSize, client) err = uploadFile(testFilePath, testFileName+".quota1", testFileSize, client)
assert.Error(t, err, "username: %v", user.Username) assert.Error(t, err, "username: %v", user.Username)