From 3ee855db63a2b69be4edccfa87b933fc84d3b759 Mon Sep 17 00:00:00 2001 From: Sergey Linev Date: Wed, 26 Aug 2026 07:51:28 +0200 Subject: [PATCH] [webgui] adjust stressGraphics test for docker When stressGraphics runs in the docker, seems to be it gets problem with limited resources for chrome headless browser. Therefore reduce batch size - number of created images at a time --- test/stressGraphics.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/stressGraphics.cxx b/test/stressGraphics.cxx index 1303ce9f59491..16c200bd4551d 100644 --- a/test/stressGraphics.cxx +++ b/test/stressGraphics.cxx @@ -578,6 +578,9 @@ void start_block(const TString &title, bool is3d = false) // cef makes problem with many images in 3D mode, so reduce it if (is3d && TString("cef") == gROOT->GetWebDisplay()) batch_size = 10; + // chrome on the CI nodes in the docker also sometime fails in 3d mode + else if (is3d && TString("chrome") == gROOT->GetWebDisplay() && !gSystem->AccessPathName("/.dockerenv", kFileExists)) + batch_size = 10; webcanv_batch_mode(batch_size); }