(conditions ...traceql.Condition)
| 1022 | } |
| 1023 | |
| 1024 | func makeReq(conditions ...traceql.Condition) traceql.FetchSpansRequest { |
| 1025 | return traceql.FetchSpansRequest{ |
| 1026 | Conditions: conditions, |
| 1027 | SecondPass: func(s *traceql.Spanset) ([]*traceql.Spanset, error) { |
| 1028 | return []*traceql.Spanset{s}, nil |
| 1029 | }, |
| 1030 | SecondPassConditions: traceql.SearchMetaConditions(), |
| 1031 | } |
| 1032 | } |
| 1033 | |
| 1034 | func parse(t *testing.T, q string) traceql.Condition { |
| 1035 | req, err := traceql.ExtractFetchSpansRequest(q) |
no test coverage detected