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:
parent
466f2e88b3
commit
1ade850557
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue