From 6d5e9f9c6c2d9ae87425da7d40d0e05d4e067ec3 Mon Sep 17 00:00:00 2001 From: Federico Jeanne Date: Thu, 30 Apr 2026 15:49:27 +0200 Subject: [PATCH] Fix assertion in testBug546710_ConsoleCreationRaceCondition(TestInfo) Check the console of the second process. --- .../eclipse/debug/tests/console/ProcessConsoleManagerTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debug/org.eclipse.debug.tests/src/org/eclipse/debug/tests/console/ProcessConsoleManagerTests.java b/debug/org.eclipse.debug.tests/src/org/eclipse/debug/tests/console/ProcessConsoleManagerTests.java index 7c9af202f41..65084fd8074 100644 --- a/debug/org.eclipse.debug.tests/src/org/eclipse/debug/tests/console/ProcessConsoleManagerTests.java +++ b/debug/org.eclipse.debug.tests/src/org/eclipse/debug/tests/console/ProcessConsoleManagerTests.java @@ -148,6 +148,6 @@ public void testBug546710_ConsoleCreationRaceCondition(TestInfo testInfo) throws removeAction.run(); TestUtil.waitForJobs(testInfo.getDisplayName(), ProcessConsoleManager.class, 0, 10000); assertNull(processConsoleManager.getConsole(process1), "First console not removed."); - assertNull(processConsoleManager.getConsole(process1), "Second console not removed."); + assertNull(processConsoleManager.getConsole(process2), "Second console not removed."); } }