From 5b9d855b52840040fbc1a4f28b055332020fefbc Mon Sep 17 00:00:00 2001 From: Sergei Tachenov Date: Wed, 24 Sep 2025 11:38:17 +0300 Subject: [PATCH] [unit tests] IJPL-209375 Fix IconScaleTest.ideHiDpi It was failing in some environments because the jreHiDPI flag was set there. GitOrigin-RevId: b90fc4f9a571be698020daf0a95663be63dbbffc --- .../testSrc/com/intellij/ui/scale/IconScaleTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/platform-tests/testSrc/com/intellij/ui/scale/IconScaleTest.java b/platform/platform-tests/testSrc/com/intellij/ui/scale/IconScaleTest.java index a636817bf8e2..c1ccc79d6ebc 100644 --- a/platform/platform-tests/testSrc/com/intellij/ui/scale/IconScaleTest.java +++ b/platform/platform-tests/testSrc/com/intellij/ui/scale/IconScaleTest.java @@ -104,6 +104,7 @@ public class IconScaleTest extends BasePlatformTestCase { } public void ideHiDpi(float scale) throws MalformedURLException { + overrideJreHiDPIEnabled(false); // it'll be restored in tearDown // the system scale repeats the default user scale in IDE-HiDPI test(scale, scale); }