summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorShelley-BaoYue <baoyue2@huawei.com>2022-09-23 16:43:57 +0800
committerShelley-BaoYue <baoyue2@huawei.com>2022-09-24 19:37:06 +0800
commit01f170d7219ca3e8acb6680fc372751cdb70c22c (patch)
treeb0d99c644905c6590727ebde4da714d6fccd1378 /tests
parentbugfix ci and edged (diff)
downloadkubeedge-01f170d7219ca3e8acb6680fc372751cdb70c22c.tar.gz
add edgecore v1alpha2 config
Signed-off-by: Shelley-BaoYue <baoyue2@huawei.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/framework/util.go4
-rw-r--r--tests/integration/metaserver/main_test.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/integration/framework/util.go b/tests/integration/framework/util.go
index 94615585f..abcd57621 100644
--- a/tests/integration/framework/util.go
+++ b/tests/integration/framework/util.go
@@ -4,7 +4,7 @@ import (
"k8s.io/klog/v2"
cloudconfig "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1"
- edgeconfig "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha1"
+ edgeconfig "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2"
)
func DisableAllModules(i interface{}) {
@@ -17,7 +17,7 @@ func DisableAllModules(i interface{}) {
config.Modules.CloudStream.Enable = false
config.Modules.SyncController.Enable = false
case *edgeconfig.EdgeCoreConfig:
- config.Modules.Edged.EnableServer = false
+ config.Modules.Edged.Enable = false
config.Modules.DBTest.Enable = false
config.Modules.DeviceTwin.Enable = false
config.Modules.EdgeHub.Enable = false
diff --git a/tests/integration/metaserver/main_test.go b/tests/integration/metaserver/main_test.go
index 531775b8b..de0262080 100644
--- a/tests/integration/metaserver/main_test.go
+++ b/tests/integration/metaserver/main_test.go
@@ -4,7 +4,7 @@ import (
"testing"
cloudconfig "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/cloudcore/v1alpha1"
- edgeconfig "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha1"
+ edgeconfig "github.com/kubeedge/kubeedge/pkg/apis/componentconfig/edgecore/v1alpha2"
"github.com/kubeedge/kubeedge/tests/integration/framework"
)