Skip to content

Commit 20d5126

Browse files
authored
disable tests due to too many false alarams (#21865)
1 parent efd06f5 commit 20d5126

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

modules/openapi-generator/src/test/java/org/openapitools/codegen/config/GlobalSettingsTest.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import static org.assertj.core.api.Assertions.assertThat;
99
import static org.assertj.core.api.Assertions.assertThatNoException;
1010

11+
import org.junit.jupiter.api.Disabled;
1112
import org.slf4j.LoggerFactory;
1213
import org.testng.annotations.BeforeClass;
1314
import org.testng.annotations.Test;
@@ -28,11 +29,13 @@ public void setUp() {
2829
System.getProperties().putAll(props);
2930
}
3031

31-
@Test
32+
@Test @Disabled
33+
// comment out the following tests as it generates false alarms from time to time
34+
// also using system property will eventually be decommissioned
3235
public void testNonStringSystemProperties() {
3336
assertThat(GlobalSettings.getProperty("345")).isEqualTo("test2");
3437
assertThat(GlobalSettings.getProperty("test1")).isEqualTo("789");
3538
assertThatNoException().isThrownBy(GlobalSettings::log);
3639
}
3740

38-
}
41+
}

0 commit comments

Comments
 (0)