Skip to content

Commit

Permalink
systemtest: fix flaky instrumentation test (#6824) (#6827)
Browse files Browse the repository at this point in the history
(cherry picked from commit cb71d23)

Co-authored-by: Andrew Wilkins <[email protected]>
  • Loading branch information
mergify[bot] and axw authored Dec 7, 2021
1 parent 1d05ab6 commit f500a74
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 f500a74

Please sign in to comment.