mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 14:50:55 +03:00
add a log to better debug a randomically failing test case
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -9550,7 +9550,9 @@ func TestGitIncludedVirtualFolders(t *testing.T) {
|
||||
user, _, err = httpdtest.GetUserByUsername(user.Username, http.StatusOK)
|
||||
assert.NoError(t, err)
|
||||
assert.Greater(t, user.UsedQuotaFiles, 0)
|
||||
assert.Greater(t, user.UsedQuotaSize, int64(0))
|
||||
if !assert.Greater(t, user.UsedQuotaSize, int64(0)) {
|
||||
printLatestLogs(20)
|
||||
}
|
||||
|
||||
folder, _, err := httpdtest.GetFolderByName(folderName, http.StatusOK)
|
||||
assert.NoError(t, err)
|
||||
|
||||
Reference in New Issue
Block a user