(t *testing.T)
| 340 | } |
| 341 | |
| 342 | func TestInstanceSearchNoData(t *testing.T) { |
| 343 | i, ls := defaultInstance(t) |
| 344 | |
| 345 | req := &tempopb.SearchRequest{ |
| 346 | Query: "{}", |
| 347 | } |
| 348 | |
| 349 | sr, err := i.Search(t.Context(), req) |
| 350 | assert.NoError(t, err) |
| 351 | require.Len(t, sr.Traces, 0) |
| 352 | |
| 353 | err = services.StopAndAwaitTerminated(t.Context(), ls) |
| 354 | if errors.Is(err, context.Canceled) { |
| 355 | return |
| 356 | } |
| 357 | require.NoError(t, err) |
| 358 | } |
| 359 | |
| 360 | // TestInstanceSearchMaxBytesPerTagValuesQueryReturnsPartial confirms that SearchTagValues returns |
| 361 | // partial results if the bytes of the found tag value exceeds the MaxBytesPerTagValuesQuery limit |
nothing calls this directly
no test coverage detected