Skip to content

Commit

Permalink
Update network_test.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ludamad authored Dec 5, 2024
1 parent b6a88e8 commit 8793963
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions yarn-project/end-to-end/scripts/network_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ if [ "$FRESH_INSTALL" = "true" ]; then
kubectl delete namespace "$NAMESPACE" --ignore-not-found=true --wait=true --now --timeout=10m
fi

STERN_PID=""
# STERN_PID=""
function copy_stern_to_log() {
# TODO(AD) we need to figure out a less resource intensive solution than stern
# ulimit -n 4096
# stern spartan -n $NAMESPACE > $SCRIPT_DIR/network-test.log &
echo "disabled until less resource intensive solution than stern implemented" > $SCRIPT_DIR/network-test.log &
STERN_PID=$!
# STERN_PID=$!
}

function show_status_until_pxe_ready() {
Expand Down Expand Up @@ -115,7 +115,7 @@ show_status_until_pxe_ready &

function cleanup() {
# kill everything in our process group except our process
trap - SIGTERM && kill -9 $(pgrep -g $$ | grep -v $$) $(jobs -p) $STERN_PID &>/dev/null || true
trap - SIGTERM && kill -9 $(pgrep -g $$ | grep -v $$) $(jobs -p) &>/dev/null || true

if [ "$CLEANUP_CLUSTER" = "true" ]; then
kind delete cluster || true
Expand Down

0 comments on commit 8793963

Please sign in to comment.