mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-06 22:30:56 +03:00
webdav test: increase log size
the latest 10 lines are not enough to understand the issue, try with 20
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user