mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
UniStore: Test both Mode1 and Mode2 for LegacyToUnifiedStorage Syncer (#94784)
Signed-off-by: Maicon Costa <maiconscosta@gmail.com>
This commit is contained in:
parent
a5022d9dc6
commit
9dc2ccdbfd
@ -225,7 +225,7 @@ func TestLegacyToUnifiedStorage_DataSyncer(t *testing.T) {
|
|||||||
tt.setupStorageFn(um)
|
tt.setupStorageFn(um)
|
||||||
}
|
}
|
||||||
|
|
||||||
outcome, err := legacyToUnifiedStorageDataSyncer(context.Background(), Mode1, ls, us, "test.kind", p, &fakeServerLock{}, &request.RequestInfo{})
|
outcome, err := legacyToUnifiedStorageDataSyncer(context.Background(), Mode2, ls, us, "test.kind", p, &fakeServerLock{}, &request.RequestInfo{})
|
||||||
if tt.wantErr {
|
if tt.wantErr {
|
||||||
assert.Error(t, err)
|
assert.Error(t, err)
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user