Helper functions adapted from ingester module
(t testing.TB)
| 577 | |
| 578 | // Helper functions adapted from ingester module |
| 579 | func defaultInstance(t testing.TB) (*instance, *LiveStore) { |
| 580 | instance, liveStore := defaultInstanceAndTmpDir(t) |
| 581 | return instance, liveStore |
| 582 | } |
| 583 | |
| 584 | func defaultInstanceAndTmpDir(t testing.TB) (*instance, *LiveStore) { |
| 585 | tmpDir := t.TempDir() |
no test coverage detected