Skip to content

Commit 9364cd4

Browse files
MetalLB E2E: Remove export logs flag (openshift#1328)
Apparently -e flag is getting logs only when running the E2E tests on kind clusters. We get all the logs we need in must-gather.
1 parent 0c4d31c commit 9364cd4

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

metallb/run_e2e.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
metallb_dir="$(dirname $(readlink -f $0))"
44
source ${metallb_dir}/metallb_common.sh
55

6-
TESTS_REPORTS_PATH="${TESTS_REPORTS_PATH:-/logs/artifacts/}"
7-
86
export METALLB_REPO=${METALLB_REPO:-https://github.com/metallb/metallb.git}
97
[[ -d /usr/local/go ]] && export PATH=${PATH}:/usr/local/go/bin
108

@@ -19,8 +17,6 @@ sudo firewall-cmd --zone=libvirt --add-port=179/tcp
1917
sudo firewall-cmd --zone=libvirt --permanent --add-port=180/tcp
2018
sudo firewall-cmd --zone=libvirt --add-port=180/tcp
2119

22-
mkdir -p "${TESTS_REPORTS_PATH}"
23-
2420
# need to skip L2 metrics test because the pod that's running the tests is not in the
2521
# same subnet of the cluster nodes, so the arp request that's done in the test won't work.
2622
SKIP="\"L2 metrics\""
@@ -46,4 +42,4 @@ export RUN_FRR_CONTAINER_ON_HOST_NETWORK=true
4642
inv e2etest --kubeconfig=$(readlink -f ../../ocp/ostest/auth/kubeconfig) \
4743
--service-pod-port=8080 --system-namespaces="metallb-system" --skip-docker \
4844
--ipv4-service-range=192.168.10.0/24 --ipv6-service-range=fc00:f853:0ccd:e799::/124 \
49-
--skip="${SKIP}" --use-operator -e "${TESTS_REPORTS_PATH}"
45+
--skip="${SKIP}" --use-operator

0 commit comments

Comments
 (0)