From 2bfb7b93ec4a0e05a3a9bbd7a7e48a43746681e9 Mon Sep 17 00:00:00 2001 From: Nikolay Martynov Date: Mon, 30 Jul 2018 21:41:10 -0400 Subject: [PATCH] Disable Lagom circuit breaker It looks like they fail tests from time to time --- .../akka-http-10.0/src/lagomTest/groovy/LagomTest.groovy | 2 +- .../akka-http-10.0/src/lagomTest/resource/application.conf | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 dd-java-agent/instrumentation/akka-http-10.0/src/lagomTest/resource/application.conf diff --git a/dd-java-agent/instrumentation/akka-http-10.0/src/lagomTest/groovy/LagomTest.groovy b/dd-java-agent/instrumentation/akka-http-10.0/src/lagomTest/groovy/LagomTest.groovy index 0ac6d5e4a5..f7bcb01815 100644 --- a/dd-java-agent/instrumentation/akka-http-10.0/src/lagomTest/groovy/LagomTest.groovy +++ b/dd-java-agent/instrumentation/akka-http-10.0/src/lagomTest/groovy/LagomTest.groovy @@ -30,7 +30,7 @@ class LagomTest extends AgentTestRunner { .withPersistence(false) .withCassandra(false) .withJdbc(false) - .withConfigureBuilder( + .configureBuilder( new Function() { @Override GuiceApplicationBuilder apply(GuiceApplicationBuilder builder) { diff --git a/dd-java-agent/instrumentation/akka-http-10.0/src/lagomTest/resource/application.conf b/dd-java-agent/instrumentation/akka-http-10.0/src/lagomTest/resource/application.conf new file mode 100644 index 0000000000..b36b0fa482 --- /dev/null +++ b/dd-java-agent/instrumentation/akka-http-10.0/src/lagomTest/resource/application.conf @@ -0,0 +1,6 @@ +lagom.circuit-breaker { + // Disable Lagom circuit-breaker + default { + enabled = off + } +}