Skip to content

Commit 7e3d9b5

Browse files
author
Amit Kumar Das
authored
chore(cleanup): remove deprecated integration test code (#102)
This commit removes code that dealt with setting up kubernetes apiserver, etcd & kubectl binaries to form a mocked control plane. This control plane was used to run experiments and hence test the correctness of various dope controllers. Above control plane based testing is no longer required since d-operators has started to make use of local docker registry, k3s and experiments (see test/experiments) to achieve above goals with minimal glue logic (see test/e2e/suite.sh). In addition, this new way to run E to E tests is now baked into d-operators GitHub actions as well (refer to previous commit). These actions can proactively detect error injections if any during pull requests. Signed-off-by: AmitKumarDas <[email protected]>
1 parent 7eb82e9 commit 7e3d9b5

27 files changed

+0
-2679
lines changed

go.mod

-3
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@ require (
77
github.com/go-resty/resty/v2 v2.2.0
88
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
99
github.com/google/go-cmp v0.4.0
10-
github.com/magefile/mage v1.9.0
11-
github.com/onsi/gomega v1.8.1
1210
github.com/pkg/errors v0.9.1
13-
gopkg.in/resty.v1 v1.12.0
1411
k8s.io/apiextensions-apiserver v0.17.3
1512
k8s.io/apimachinery v0.17.3
1613
k8s.io/client-go v0.17.3

go.sum

-2
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,6 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
203203
github.com/kr/pty v1.1.5/go.mod h1:9r2w37qlBe7rQ6e1fg1S/9xpWHSnaqNdHD3WcMdbPDA=
204204
github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
205205
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
206-
github.com/magefile/mage v1.9.0 h1:t3AU2wNwehMCW97vuqQLtw6puppWXHO+O2MHo5a50XE=
207-
github.com/magefile/mage v1.9.0/go.mod h1:z5UZb/iS3GoOSn0JgWuiw7dxlurVYTu+/jHXqQg881A=
208206
github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
209207
github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
210208
github.com/mailru/easyjson v0.0.0-20180823135443-60711f1a8329/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=

mage.go

-94
This file was deleted.

test/bin/.gitkeep

Whitespace-only changes.

test/manifests/namespace.yaml

-4
This file was deleted.

test/pkg/common/common.go

-35
This file was deleted.

test/pkg/common/setup_loader.go

-89
This file was deleted.

test/pkg/controlplane/addr/manager.go

-74
This file was deleted.

0 commit comments

Comments
 (0)