Skip to content

Commit 0729e67

Browse files
committed
fix finatra latest
1 parent 6116cfd commit 0729e67

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

instrumentation/finatra-2.9/javaagent/src/latestDepTest/scala/io/opentelemetry/javaagent/instrumentation/finatra/FinatraServerLatestTest.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ class FinatraServerLatestTest extends AbstractHttpServerTest[HttpServer] {
5656
endpoint != ServerEndpoint.NOT_FOUND
5757
})
5858
options.setResponseCodeOnNonStandardHttpMethod(400)
59+
options.setExpectedException(
60+
new Exception(ServerEndpoint.EXCEPTION.getBody())
61+
)
5962
}
6063

6164
override protected def assertHandlerSpan(

0 commit comments

Comments
 (0)