Enable Java 15 for akka http instrumentation (#1869)
This commit is contained in:
parent
ad82c30ec2
commit
71dad57060
|
@ -1,9 +1,3 @@
|
|||
ext {
|
||||
// TODO remove once Scala/akka supports Java 15
|
||||
// https://docs.scala-lang.org/overviews/jdk-compatibility/overview.html
|
||||
maxJavaVersionForTests = JavaVersion.VERSION_14
|
||||
}
|
||||
|
||||
apply from: "$rootDir/gradle/instrumentation.gradle"
|
||||
apply from: "$rootDir/gradle/test-with-scala.gradle"
|
||||
apply plugin: 'org.unbroken-dome.test-sets'
|
||||
|
|
|
@ -58,7 +58,7 @@ class AkkaHttpClientInstrumentationTest extends HttpClientTest {
|
|||
Http.get(system).singleRequest(null, materializer)
|
||||
|
||||
then:
|
||||
thrown NullPointerException
|
||||
def e = thrown NullPointerException
|
||||
assertTraces(1) {
|
||||
trace(0, 1) {
|
||||
span(0) {
|
||||
|
@ -66,7 +66,7 @@ class AkkaHttpClientInstrumentationTest extends HttpClientTest {
|
|||
name "HTTP request"
|
||||
kind CLIENT
|
||||
errored true
|
||||
errorEvent(NullPointerException)
|
||||
errorEvent(NullPointerException, e.getMessage())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue