Skip to content

Commit

Permalink
e2e: run BGPPolicy test in kind job test-e2e-encap-all-features-enabl…
Browse files Browse the repository at this point in the history
…ed (#6554)

Signed-off-by: Quan Tian <[email protected]>
  • Loading branch information
tnqn authored Jul 26, 2024
1 parent 1456fe0 commit d0ceaf9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/kind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions test/e2e/bgppolicy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit d0ceaf9

Please sign in to comment.