Skip to content

Commit

Permalink
Polish.
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejwalkowiak committed Apr 15, 2021
1 parent 1629185 commit f97cdb9
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -139,8 +139,8 @@ class SentrySpringIntegrationTest {
fun `attaches span context to events triggered within transaction`() {
val restTemplate = TestRestTemplate().withBasicAuth("user", "password")

val response = restTemplate.getForEntity("http://localhost:$port/performance", String::class.java)
assertThat(response.statusCode).isEqualTo(HttpStatus.INTERNAL_SERVER_ERROR)
restTemplate.getForEntity("http://localhost:$port/performance", String::class.java)

await.untilAsserted {
verify(transport).send(checkEvent { event ->
assertThat(event.contexts.trace).isNotNull()
Expand Down

0 comments on commit f97cdb9

Please sign in to comment.