(t *testing.T, cols backend.DedicatedColumns)
| 31 | } |
| 32 | |
| 33 | func dedicatedColsToJSON(t *testing.T, cols backend.DedicatedColumns) string { |
| 34 | t.Helper() |
| 35 | |
| 36 | proto, err := cols.ToTempopb() |
| 37 | require.NoError(t, err) |
| 38 | |
| 39 | jsonBytes, err := json.Marshal(proto) |
| 40 | require.NoError(t, err) |
| 41 | |
| 42 | return string(jsonBytes) |
| 43 | } |
| 44 | |
| 45 | // randoDedicatedCols generates a random set of cols for testing |
| 46 | func randoDedicatedCols() backend.DedicatedColumns { |
no test coverage detected