Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cnf-tests: Dump openshift-multus namespace on failure #2229

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cnf-tests/testsuites/pkg/utils/reporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ func NewReporter(reportPath string) (*k8sreporter.KubernetesReporter, error) {
namespaces.BondTestNamespace: "bondcni",
namespaces.MetalLBOperator: "metallb",
namespaces.TuningTest: "tuningcni",
namespaces.Multus: "multus",
}

crds := []k8sreporter.CRData{
Expand Down
4 changes: 4 additions & 0 deletions hack/run-functests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ export LATENCY_TEST_RUN=${LATENCY_TEST_RUN:-false}

export IS_OPENSHIFT="${IS_OPENSHIFT:-true}"

# Read by sriov-network-operator confomrance test suite when dumping resource, on test failures.
# https://github.com/k8snetworkplumbingwg/sriov-network-operator/pull/636
export MULTUS_NAMESPACE=openshift-multus

# The metallb tests cover both frr and frr-k8s, and we don't
# currently deploy frr-k8s mode
export BLACKLISTED_TESTS="frr-k8s"
Expand Down