(t *testing.T, i *Ingester, ts int64)
| 5742 | } |
| 5743 | |
| 5744 | func pushSingleSampleAtTime(t *testing.T, i *Ingester, ts int64) { |
| 5745 | ctx := user.InjectOrgID(context.Background(), userID) |
| 5746 | req, _ := mockWriteRequest(t, labels.FromStrings("__name__", "test"), 0, ts) |
| 5747 | _, err := i.Push(ctx, req) |
| 5748 | require.NoError(t, err) |
| 5749 | } |
| 5750 | |
| 5751 | func TestHeadCompactionOnStartup(t *testing.T) { |
| 5752 | // Create a temporary directory for TSDB |
no test coverage detected