routing: start writing and reading from namespaced MC
and invoke the associated mission control migration.
This commit is contained in:
4 files changed
+53
-13
No files matched your search
@@ -63,7 +63,7 @@ func newMCStoreTestHarness(t testing.TB, maxRecords int,
|
||||
})
|
||||
|
||||
store, err := newMissionControlStore(
|
||||
newNamespacedDB(db), maxRecords, flushInterval,
|
||||
newDefaultNamespacedStore(db), maxRecords, flushInterval,
|
||||
)
|
||||
require.NoError(t, err)
|
||||
|
||||
@@ -118,7 +118,7 @@ func TestMissionControlStore(t *testing.T) {
|
||||
|
||||
// Recreate store to test pruning.
|
||||
store, err = newMissionControlStore(
|
||||
newNamespacedDB(db), testMaxRecords, time.Second,
|
||||
newDefaultNamespacedStore(db), testMaxRecords, time.Second,
|
||||
)
|
||||
require.NoError(t, err)
|
||||
|
||||
@@ -218,7 +218,7 @@ func TestMissionControlStoreFlushing(t *testing.T) {
|
||||
|
||||
// Recreate store.
|
||||
store, err := newMissionControlStore(
|
||||
newNamespacedDB(db), testMaxRecords, flushInterval,
|
||||
newDefaultNamespacedStore(db), testMaxRecords, flushInterval,
|
||||
)
|
||||
require.NoError(t, err)
|
||||
store.run()
|
||||
|
||||
Reference in new issue
Block a user