Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fasthttpfixes #784

Merged
merged 16 commits into from
Sep 18, 2023
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
Loading