Skip to content

Commit

Permalink
Merge pull request #784 from mirackara/fasthttpfixes
Browse files Browse the repository at this point in the history
Fasthttpfixes
  • Loading branch information
iamemilio authored Sep 18, 2023
2 parents 7b8fc65 + 1488692 commit 25fcdc3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions v3/newrelic/internal_context_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,13 @@ func TestExternalSegmentFastHTTP(t *testing.T) {
seg := StartExternalSegmentFastHTTP(txn, ctx)
defer seg.End()

err := fasthttp.Do(req, resp)
txn.End()
app.ExpectMetrics(t, []internal.WantMetric{
{Name: "OtherTransaction/Go/myTxn", Scope: "", Forced: true, Data: nil},
{Name: "OtherTransaction/all", Scope: "", Forced: true, Data: nil},
{Name: "OtherTransactionTotalTime/Go/myTxn", Scope: "", Forced: false, Data: nil},
{Name: "OtherTransactionTotalTime", Scope: "", Forced: true, Data: nil},
})
if err != nil {
t.Error(err)
}
}

func TestStartExternalSegmentNilTransaction(t *testing.T) {
Expand Down

0 comments on commit 25fcdc3

Please sign in to comment.