diff --git a/modules/openapi-generator/src/test/java/org/openapitools/codegen/config/GlobalSettingsTest.java b/modules/openapi-generator/src/test/java/org/openapitools/codegen/config/GlobalSettingsTest.java index 8025484df9c..4974eabe331 100644 --- a/modules/openapi-generator/src/test/java/org/openapitools/codegen/config/GlobalSettingsTest.java +++ b/modules/openapi-generator/src/test/java/org/openapitools/codegen/config/GlobalSettingsTest.java @@ -8,6 +8,7 @@ import java.util.Properties; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatNoException; +import org.junit.jupiter.api.Disabled; import org.slf4j.LoggerFactory; import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; @@ -28,11 +29,13 @@ public class GlobalSettingsTest { System.getProperties().putAll(props); } - @Test + @Test @Disabled + // comment out the following tests as it generates false alarms from time to time + // also using system property will eventually be decommissioned public void testNonStringSystemProperties() { assertThat(GlobalSettings.getProperty("345")).isEqualTo("test2"); assertThat(GlobalSettings.getProperty("test1")).isEqualTo("789"); assertThatNoException().isThrownBy(GlobalSettings::log); } -} \ No newline at end of file +}