(t *testing.T, hexID string, resp *tempopb.SearchResponse)
| 122 | } |
| 123 | |
| 124 | func traceIDInResults(t *testing.T, hexID string, resp *tempopb.SearchResponse) bool { |
| 125 | for _, s := range resp.Traces { |
| 126 | equal, err := tempoUtil.EqualHexStringTraceIDs(s.TraceID, hexID) |
| 127 | require.NoError(t, err) |
| 128 | if equal { |
| 129 | return true |
| 130 | } |
| 131 | } |
| 132 | |
| 133 | return false |
| 134 | } |
| 135 | |
| 136 | func QueryAndAssertTrace(t *testing.T, client *httpclient.Client, info *tempoUtil.TraceInfo) { |
| 137 | // v2 |
no outgoing calls
no test coverage detected