Skip to content

Commit 01b3305

Browse files
committed
jbide-24379: fix macos UI blocking test
1 parent 3f51ebc commit 01b3305

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jsf/tests/org.jboss.tools.jsf.ui.test/src/org/jboss/tools/jsf/ui/test/NaturesInfoDialogTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,11 @@ protected void setUp() throws Exception {
129129
System.setProperty("org.jboss.tools.vpe.ENABLE_PROJECT_NATURES_CHECKER", "true"); //$NON-NLS-1$ //$NON-NLS-2$
130130
WebUiPlugin.getDefault().getPreferenceStore().setValue(IVpePreferencesPage.INFORM_WHEN_PROJECT_MIGHT_NOT_BE_CONFIGURED_PROPERLY_FOR_VPE, true);
131131
testProject = ProjectImportTestSetup.loadProject(getTestProjectName());
132-
testProject.build(IncrementalProjectBuilder.FULL_BUILD, new NullProgressMonitor());
133132
}
134133

135134
@Override
136135
protected void tearDown() throws Exception {
136+
PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().closeAllEditors(false);
137137
WebUiPlugin.getDefault().getPreferenceStore().setValue(IVpePreferencesPage.INFORM_WHEN_PROJECT_MIGHT_NOT_BE_CONFIGURED_PROPERLY_FOR_VPE, false);
138138
System.setProperty("org.jboss.tools.vpe.ENABLE_PROJECT_NATURES_CHECKER", "false"); //$NON-NLS-1$ //$NON-NLS-2$
139139
super.tearDown();

0 commit comments

Comments
 (0)