Rendering: Add logs (#97885)

* Rendering: add logs

* fix tests and lint issues
This commit is contained in:
Agnès Toulet
2024-12-13 09:42:35 +01:00
committed by GitHub
parent 6011cffed7
commit 1c4d30f73c
2 changed files with 26 additions and 16 deletions
+5 -2
View File
@@ -121,7 +121,8 @@ func TestRenderLimitImage(t *testing.T) {
rs := RenderingService{
Cfg: &setting.Cfg{
HomePath: path,
HomePath: path,
RendererUrl: "http://localhost:8081/render",
},
inProgressCount: 2,
log: log.New("test"),
@@ -161,7 +162,9 @@ func TestRenderLimitImage(t *testing.T) {
func TestRenderLimitImageError(t *testing.T) {
rs := RenderingService{
Cfg: &setting.Cfg{},
Cfg: &setting.Cfg{
RendererUrl: "http://localhost:8081/render",
},
inProgressCount: 2,
log: log.New("test"),
}