diff --git a/.github/workflows/kind.yml b/.github/workflows/kind.yml index 3ade70978e5..628179e7c76 100644 --- a/.github/workflows/kind.yml +++ b/.github/workflows/kind.yml @@ -244,6 +244,7 @@ jobs: --node-ipam \ --extra-vlan \ --multicast \ + --bgp-policy \ --networkpolicy-evaluation - name: Tar coverage files run: tar -czf test-e2e-encap-all-features-enabled-coverage.tar.gz test-e2e-encap-all-features-enabled-coverage diff --git a/test/e2e/bgppolicy_test.go b/test/e2e/bgppolicy_test.go index e7b4fcc68d8..f2e9ccb19c7 100644 --- a/test/e2e/bgppolicy_test.go +++ b/test/e2e/bgppolicy_test.go @@ -33,6 +33,7 @@ import ( "antrea.io/antrea/pkg/agent/types" crdv1alpha1 "antrea.io/antrea/pkg/apis/crd/v1alpha1" + "antrea.io/antrea/pkg/features" "antrea.io/antrea/test/e2e/providers/exec" ) @@ -74,6 +75,7 @@ func routesToStrings(routes []FRRRoute) []string { } func TestBGPPolicy(t *testing.T) { + skipIfFeatureDisabled(t, features.BGPPolicy, true, false) skipIfNotIPv4Cluster(t) skipIfHasWindowsNodes(t) skipIfExternalFRRNotSet(t)