Skip to content

Commit 2ff1307

Browse files
committed
fixed test
1 parent b848ba6 commit 2ff1307

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/templates/kuttl/smoke-nodeport/20-validate-all-ingresses-are-reachable.yaml.j2

+2-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ spec:
6161
ADDR=$(kubectl get listener/listener-$pod \
6262
-o jsonpath='http://{.status.ingressAddresses[0].address}:{.status.ingressAddresses[0].ports.http}/pod-name');
6363
echo Requesting $ADDR should return $pod;
64-
echo curl -s $ADDR | grep $pod;
64+
curl -s $ADDR | grep $pod;
6565
done
6666

6767
echo Testing access via PodListeners
@@ -70,7 +70,7 @@ spec:
7070
ADDR=$(kubectl get podlisteners/pod-$POD_UID \
7171
-o jsonpath='http://{.spec.listeners.listener.ingressAddresses[0].address}:{.spec.listeners.listener.ingressAddresses[0].ports.http}/pod-name');
7272
echo Requesting $ADDR should return $pod;
73-
echo curl -s $ADDR | grep $pod;
73+
curl -s $ADDR | grep $pod;
7474
done
7575
{% endif %}
7676
resources:

0 commit comments

Comments
 (0)