Explorar el Código

webdav test: increase log size

the latest 10 lines are not enough to understand the issue, try with 20
Nicola Murino hace 4 años
padre
commit
15934d72cc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      webdavd/webdavd_test.go

+ 1 - 1
webdavd/webdavd_test.go

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