File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ import (
18
18
"github.com/kumahq/kuma/pkg/core/plugins"
19
19
core_apis "github.com/kumahq/kuma/pkg/core/resources/apis"
20
20
"github.com/kumahq/kuma/pkg/plugins/policies"
21
- "github.com/kumahq/kuma/test/framework"
22
21
)
23
22
24
23
// RunSpecs wraps ginkgo+gomega test suite initialization.
@@ -33,7 +32,6 @@ func RunSpecs(t *testing.T, description string) {
33
32
}
34
33
35
34
func RunE2ESpecs (t * testing.T , description string ) {
36
- framework .Init ()
37
35
plugins .InitAll (core_apis .NameToModule )
38
36
plugins .InitAll (policies .NameToModule )
39
37
gomega .SetDefaultConsistentlyDuration (time .Second * 5 )
Original file line number Diff line number Diff line change @@ -263,9 +263,9 @@ var defaultConf = E2eConfig{
263
263
DumpOnSuccess : false ,
264
264
}
265
265
266
- func Init () {
266
+ func init () {
267
267
Config = defaultConf
268
- if err := config .Load ("" , & Config ); err != nil {
268
+ if err := config .Load (os . Getenv ( "E2E_CONFIG_FILE" ) , & Config ); err != nil {
269
269
panic (err )
270
270
}
271
271
You can’t perform that action at this time.
0 commit comments