Skip to content

Commit 4fbb965

Browse files
committed
test: skip TestIPPool if terway is not terway-eniip
Signed-off-by: l1b0k <[email protected]>
1 parent 85e2410 commit 4fbb965

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/config_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ import (
1818
)
1919

2020
func TestIPPool(t *testing.T) {
21+
if terway != "terway-eniip" {
22+
t.Skipf("skip not terway-eniip")
23+
}
2124
feature := features.New("IPPool").
2225
Setup(func(ctx context.Context, t *testing.T, config *envconf.Config) context.Context {
2326
if eniConfig.IPAMType != "crd" {

0 commit comments

Comments
 (0)