Disable flaky tests (#5591)

This commit is contained in:
Tyler Veness
2023-08-29 17:46:50 -07:00
committed by GitHub
parent a8d4b162ab
commit 89add5d05b
2 changed files with 4 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ import java.util.List;
import java.util.stream.Stream;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Nested;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.io.TempDir;
@@ -71,6 +72,7 @@ class PreferencesTest {
m_inst.close();
}
@Disabled("Fails often with 'Preferences was not empty!'")
@Test
void removeAllTest() {
Preferences.removeAll();

View File

@@ -19,6 +19,7 @@ import java.util.EnumSet;
import java.util.concurrent.atomic.AtomicInteger;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
class ShuffleboardInstanceTest {
@@ -127,6 +128,7 @@ class ShuffleboardInstanceTest {
assertFalse(controllable, "The nested actuator widget should have been disabled");
}
@Disabled("Fails often at counter assertion 'expected: <2> but was: <1>'")
@Test
void testDuplicateSelectTabs() {
int listener = 0;