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 51708748a04..85d28b41733 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 @@ -8,6 +8,8 @@ */ package org.eclipse.xtext.ui.tests.editor; +import static org.junit.Assume.*; + import java.io.File; import java.io.FileWriter; import java.util.ArrayList; @@ -130,6 +132,9 @@ public void testUndoRedo() throws Exception { * @see https://github.com/eclipse-xtext/xtext/issues/2385 */ @Test public void testModifyFileInExternEditor() throws Exception { + // This test is flaky on mac operating systems maven build. + assumeFalse(System.getProperty("os.name").startsWith("Mac")); + IXtextDocument document = editor.getDocument(); Display.getDefault().readAndDispatch();