mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-06 14:20:55 +03:00
Add debug log to investigate intermittent test failure in CI
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -8563,7 +8563,9 @@ func TestPerUserTransferLimits(t *testing.T) {
|
||||
u := getTestUser()
|
||||
u.UploadBandwidth = 32
|
||||
user, _, err := httpdtest.AddUser(u, http.StatusCreated)
|
||||
assert.NoError(t, err)
|
||||
if !assert.NoError(t, err) {
|
||||
printLatestLogs(20)
|
||||
}
|
||||
conn, client, err := getSftpClient(user)
|
||||
if assert.NoError(t, err) {
|
||||
defer conn.Close()
|
||||
|
||||
Reference in New Issue
Block a user