@@ -19,10 +19,10 @@ import (
19
19
"go.uber.org/zap"
20
20
21
21
esCfg "github.com/jaegertracing/jaeger/pkg/es/config"
22
- memoryCfg "github.com/jaegertracing/jaeger/pkg/memory/config"
23
22
"github.com/jaegertracing/jaeger/pkg/metrics"
24
23
"github.com/jaegertracing/jaeger/pkg/testutils"
25
- badgerCfg "github.com/jaegertracing/jaeger/plugin/storage/badger"
24
+ "github.com/jaegertracing/jaeger/plugin/storage/badger"
25
+ "github.com/jaegertracing/jaeger/plugin/storage/memory"
26
26
"github.com/jaegertracing/jaeger/storage"
27
27
"github.com/jaegertracing/jaeger/storage/dependencystore"
28
28
"github.com/jaegertracing/jaeger/storage/spanstore"
@@ -80,10 +80,10 @@ func TestStorageExtensionConfigError(t *testing.T) {
80
80
81
81
func TestStorageExtensionNameConflict (t * testing.T ) {
82
82
storageExtension := makeStorageExtenion (t , & Config {
83
- Memory : map [string ]memoryCfg .Configuration {
83
+ Memory : map [string ]memory .Configuration {
84
84
"foo" : {MaxTraces : 10000 },
85
85
},
86
- Badger : map [string ]badgerCfg .NamespaceConfig {
86
+ Badger : map [string ]badger .NamespaceConfig {
87
87
"foo" : {},
88
88
},
89
89
})
@@ -134,7 +134,7 @@ func TestStorageExtension(t *testing.T) {
134
134
135
135
func TestBadgerStorageExtension (t * testing.T ) {
136
136
storageExtension := makeStorageExtenion (t , & Config {
137
- Badger : map [string ]badgerCfg .NamespaceConfig {
137
+ Badger : map [string ]badger .NamespaceConfig {
138
138
"foo" : {
139
139
Ephemeral : true ,
140
140
MaintenanceInterval : 5 ,
@@ -150,7 +150,7 @@ func TestBadgerStorageExtension(t *testing.T) {
150
150
151
151
func TestBadgerStorageExtensionError (t * testing.T ) {
152
152
ext := makeStorageExtenion (t , & Config {
153
- Badger : map [string ]badgerCfg .NamespaceConfig {
153
+ Badger : map [string ]badger .NamespaceConfig {
154
154
"foo" : {
155
155
KeyDirectory : "/bad/path" ,
156
156
ValueDirectory : "/bad/path" ,
@@ -229,7 +229,7 @@ func makeStorageExtenion(t *testing.T, config *Config) component.Component {
229
229
230
230
func startStorageExtension (t * testing.T , memstoreName string ) component.Component {
231
231
config := & Config {
232
- Memory : map [string ]memoryCfg .Configuration {
232
+ Memory : map [string ]memory .Configuration {
233
233
memstoreName : {MaxTraces : 10000 },
234
234
},
235
235
}
0 commit comments