From 3df5b47c0e2385c9871491be57f136254277c7f2 Mon Sep 17 00:00:00 2001 From: dev747368 <48332326+dev747368@users.noreply.github.com> Date: Thu, 2 May 2024 17:02:08 +0000 Subject: [PATCH] GP-0 try to fix timing issue in EncodedStringsDialogTest --- .../app/plugin/core/strings/EncodedStringsDialogTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/app/plugin/core/strings/EncodedStringsDialogTest.java b/Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/app/plugin/core/strings/EncodedStringsDialogTest.java index 2549d6ced3..390bf5e337 100644 --- a/Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/app/plugin/core/strings/EncodedStringsDialogTest.java +++ b/Ghidra/Test/IntegrationTest/src/test.slow/java/ghidra/app/plugin/core/strings/EncodedStringsDialogTest.java @@ -173,7 +173,8 @@ public class EncodedStringsDialogTest extends AbstractProgramBasedTest { showDialog(ram.getAddressRange()); assertEquals(3, tableModel.getRowCount()); - dialog.getCreateButton().doClick(); + + Swing.runNow(() -> dialog.getCreateButton().doClick()); waitForSwing();