From 043a867d15594e46c653e935de442ce251cbb58c Mon Sep 17 00:00:00 2001 From: Mehmet Emin Karaman Date: Fri, 6 Dec 2024 14:05:12 +0100 Subject: [PATCH] Disable DirtyStateEditorSupportIntegrationTest.testModifyFileInExternEditor() test for Mac operating system --- .../tests/editor/DirtyStateEditorSupportIntegrationTest.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/org.eclipse.xtext.ui.tests/src-longrunning/org/eclipse/xtext/ui/tests/editor/DirtyStateEditorSupportIntegrationTest.java b/org.eclipse.xtext.ui.tests/src-longrunning/org/eclipse/xtext/ui/tests/editor/DirtyStateEditorSupportIntegrationTest.java index 7e5799bebb6..e1557de6e00 100644 --- a/org.eclipse.xtext.ui.tests/src-longrunning/org/eclipse/xtext/ui/tests/editor/DirtyStateEditorSupportIntegrationTest.java +++ b/org.eclipse.xtext.ui.tests/src-longrunning/org/eclipse/xtext/ui/tests/editor/DirtyStateEditorSupportIntegrationTest.java @@ -130,6 +130,11 @@ public void testUndoRedo() throws Exception { * @see https://github.com/eclipse-xtext/xtext/issues/2385 */ @Test public void testModifyFileInExternEditor() throws Exception { + if (System.getProperty("os.name").startsWith("Mac")) { + // This test is flaky on mac operating systems maven build. + return; + } + IXtextDocument document = editor.getDocument(); Display.getDefault().readAndDispatch();