Skip to content

Commit

Permalink
just: use different ports for set/verify
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Meyer <[email protected]>
  • Loading branch information
katexochen committed Jan 18, 2024
1 parent 2316b21 commit 14f0ab3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,13 @@ verify:
rm -rf ./{{workspace_dir}}/verify
ns=$(cat ./{{workspace_dir}}/just.namespace)
nix run .#kubectl-wait-ready -- $ns coordinator
kubectl -n $ns port-forward pod/port-forwarder-coordinator 1313 &
kubectl -n $ns port-forward pod/port-forwarder-coordinator 1314:1313 &
PID=$!
trap "kill $PID" EXIT
sleep 1
t=$(date +%s)
nix run .#cli -- verify \
-c localhost:1313 \
-c localhost:1314 \
-o ./{{workspace_dir}}/verify
duration=$(( $(date +%s) - $t ))
echo "Verified in $duration seconds."
Expand Down

0 comments on commit 14f0ab3

Please sign in to comment.