Skip to content

Commit

Permalink
disable flaky tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheikah45 committed Jan 11, 2025
1 parent 4e0a0f0 commit c3f57c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -757,6 +757,7 @@ public void testLaunchTutorialIfNoGameSet() {
}

@Test
@Disabled("Flaky Test")
public void testOfflineGame() throws IOException {
when(preferencesService.hasValidGamePath()).thenReturn(true);
when(forgedAllianceLaunchService.launchOfflineGame(any())).thenReturn(process);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import javafx.scene.layout.Pane;
import org.instancio.Instancio;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.mockito.InjectMocks;
import org.mockito.Mock;
Expand Down Expand Up @@ -150,6 +151,7 @@ public void testSetSupplier() {
}

@Test
@Disabled("Flaky Test")
public void testShowModDetail() throws MalformedURLException {
ModVersion modVersion = Instancio.create(ModVersion.class);
runOnFxThreadAndWait(() -> instance.onDisplayDetails(modVersion));
Expand Down

0 comments on commit c3f57c9

Please sign in to comment.