(t *testing.T)
| 45 | } |
| 46 | |
| 47 | func TestProtoToParquetEmptyTrace(t *testing.T) { |
| 48 | want := &Trace{ |
| 49 | TraceID: make([]byte, 16), |
| 50 | ResourceSpans: nil, |
| 51 | ServiceStats: []ServiceStats{}, |
| 52 | } |
| 53 | |
| 54 | got, connected := traceToParquet(&backend.BlockMeta{}, nil, &tempopb.Trace{}, nil) |
| 55 | require.False(t, connected) |
| 56 | require.Equal(t, want, got) |
| 57 | } |
| 58 | |
| 59 | func TestProtoParquetRando(t *testing.T) { |
| 60 | trp := &Trace{} |
nothing calls this directly
no test coverage detected