()
| 29 | } |
| 30 | |
| 31 | func (f *fakeRuntimeInstanceStore) snapshot() []configstore.ControlPlaneInstance { |
| 32 | f.mu.Lock() |
| 33 | defer f.mu.Unlock() |
| 34 | out := make([]configstore.ControlPlaneInstance, len(f.records)) |
| 35 | copy(out, f.records) |
| 36 | return out |
| 37 | } |
| 38 | |
| 39 | func (f *fakeRuntimeInstanceStore) waitForUpserts(t *testing.T, count int, timeout time.Duration) { |
| 40 | t.Helper() |
no outgoing calls
no test coverage detected