Skip to content

Commit

Permalink
systemtest: fix flaky instrumentation test (#6824)
Browse files Browse the repository at this point in the history
  • Loading branch information
axw authored Dec 7, 2021
1 parent 114a928 commit cb71d23
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions systemtest/instrumentation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ func TestAPMServerInstrumentation(t *testing.T) {
Field: "transaction.type",
Value: "request",
},
// Only look for the request made by the agent for sending events.
// There may be other requests, such as for central config.
estest.TermQuery{
Field: "transaction.name",
Value: "POST /intake/v2/events",
},
},
})

Expand Down

0 comments on commit cb71d23

Please sign in to comment.