log level configuration tests - fct names codenarc
MODIFY
dd-java-agent/src/test/groovy/datadog/trace/agent/LogLevelTest.groovy
dd-java-agent/src/test/groovy/datadog/trace/agent/LogLevelTest.groovy
@@ -14,7 +14,7 @@ class LogLevelTest extends Specification {
0: DEBUG Logs
*/
- def "dd.trace.debug=false"() {
+ def "dd.trace.debug false"() {
expect:
IntegrationTestUtils.runOnSeparateJvm(LogLevelChecker.getName()
, ["-Ddd.trace.debug=false","-Ddd.jmxfetch.enabled=false","-Ddd.trace.enabled=false"] as String[]
@@ -22,7 +22,7 @@ class LogLevelTest extends Specification {
, [:]
, true) == 1
}
- def "SLF4J DEBUG && dd.trace.debug=false"() {
+ def "SLF4J DEBUG && dd.trace.debug is false"() {
expect:
IntegrationTestUtils.runOnSeparateJvm(LogLevelChecker.getName()
, ["-Ddd.trace.debug=false","-Ddatadog.slf4j.simpleLogger.defaultLogLevel=debug","-Ddd.jmxfetch.enabled=false","-Ddd.trace.enabled=false"] as String[]
@@ -30,7 +30,7 @@ class LogLevelTest extends Specification {
, [:]
, true) == 0
}
- def "dd.trace.debug=false && DD_TRACE_DEBUG=true"() {
+ def "dd.trace.debug is false && DD_TRACE_DEBUG is true"() {
expect:
IntegrationTestUtils.runOnSeparateJvm(LogLevelChecker.getName()
, ["-Ddd.trace.debug=false","-Ddd.jmxfetch.enabled=false","-Ddd.trace.enabled=false"] as String[]
@@ -39,7 +39,7 @@ class LogLevelTest extends Specification {
, true) == 1
}
- def "dd.trace.debug=true"() {
+ def "dd.trace.debug is true"() {
expect:
IntegrationTestUtils.runOnSeparateJvm(LogLevelChecker.getName()
, ["-Ddd.trace.debug=true","-Ddd.jmxfetch.enabled=false","-Ddd.trace.enabled=false"] as String[]
@@ -49,7 +49,7 @@ class LogLevelTest extends Specification {
}
- def "DD_TRACE_DEBUG=true"() {
+ def "DD_TRACE_DEBUG is true"() {
expect:
IntegrationTestUtils.runOnSeparateJvm(LogLevelChecker.getName()
, ["-Ddd.jmxfetch.enabled=false","-Ddd.trace.enabled=false"] as String[]
@@ -58,7 +58,7 @@ class LogLevelTest extends Specification {
, true) == 0
}
- def "dd.trace.debug=true && DD_TRACE_DEBUG=false"() {
+ def "dd.trace.debug is true && DD_TRACE_DEBUG is false"() {
expect:
IntegrationTestUtils.runOnSeparateJvm(LogLevelChecker.getName()
, ["-Ddd.trace.debug=true","-Ddd.jmxfetch.enabled=false","-Ddd.trace.enabled=false"] as String[]
@@ -69,7 +69,7 @@ class LogLevelTest extends Specification {
- def "SLF4J DEBUG && DD_TRACE_DEBUG=false"() {
+ def "SLF4J DEBUG && DD_TRACE_DEBUG is false"() {
expect:
IntegrationTestUtils.runOnSeparateJvm(LogLevelChecker.getName()
, ["-Ddatadog.slf4j.simpleLogger.defaultLogLevel=debug","-Ddd.jmxfetch.enabled=false","-Ddd.trace.enabled=false"] as String[]
@@ -78,7 +78,7 @@ class LogLevelTest extends Specification {
, true) == 0
}
- def "SLF4J INFO && DD_TRACE_DEBUG=true"() {
+ def "SLF4J INFO && DD_TRACE_DEBUG is true"() {
expect:
IntegrationTestUtils.runOnSeparateJvm(LogLevelChecker.getName()
, ["-Ddatadog.slf4j.simpleLogger.defaultLogLevel=info","-Ddd.jmxfetch.enabled=false","-Ddd.trace.enabled=false"] as String[]

log level configuration tests - fct names codenarc