Skip to content

Commit df65f5b

Browse files
committed
Disable flaky test
test_activateEventSend hasn't run in a while due to a test condition error (see eclipse-platform#2591). Therefore we are going to disable this test that is a feature only on GTK3/x11
1 parent eb5486e commit df65f5b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Shell.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
import org.eclipse.swt.widgets.Shell;
4444
import org.eclipse.swt.widgets.Text;
4545
import org.junit.jupiter.api.BeforeEach;
46+
import org.junit.jupiter.api.Disabled;
4647
import org.junit.jupiter.api.Test;
4748

4849
/**
@@ -652,6 +653,7 @@ public void test_setBoundsLorg_eclipse_swt_graphics_Rectangle() {
652653
* Regression test for Bug 436841 - [GTK3] FocusOut/In and Activate/Deactivate
653654
* events when opening context menu. Only applicable on GTK x11.
654655
*/
656+
@Disabled(value = "Test works fine most of the time, but it flaky. Due to issue described in https://github.com/eclipse-platform/eclipse.platform.swt/pull/2591 the test hasn't really run a in long time")
655657
@Test
656658
public void test_activateEventSend() throws InterruptedException {
657659
if (SwtTestUtil.isGTK && SwtTestUtil.isX11.getAsBoolean()) {

0 commit comments

Comments
 (0)