Skip to content

Commit

Permalink
test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
grcevski committed Feb 10, 2025
1 parent 27b6419 commit 9e050da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/red_test_python_sql.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,10 @@ func testREDMetricsForPythonSQLSSL(t *testing.T, url, comm, namespace string) {
var tq jaeger.TracesQuery
require.NoError(t, json.NewDecoder(resp.Body).Decode(&tq))
traces := tq.FindBySpan(jaeger.Tag{Key: "url.path", Type: "string", Value: "/query"})
require.Len(t, traces, 1)
require.LessOrEqual(t, 1, len(traces))
trace := traces[0]
// Check the information of the parent span
res := trace.FindByOperationName("GET /bye")
res := trace.FindByOperationName("GET /query")
require.Len(t, res, 1)
}, test.Interval(100*time.Millisecond))
}
Expand Down

0 comments on commit 9e050da

Please sign in to comment.