Skip to content

Commit 212d103

Browse files
authored
Merge pull request instructlab#978 from leseb/fix-nc-cli
fix: remove useless nc command
2 parents 3c7aea2 + 87d08ce commit 212d103

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

scripts/functional-tests.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ cleanup() {
2828
fi
2929
for pid in $PID_SERVE $PID_CHAT; do
3030
if [ -n "$pid" ]; then
31-
kill $pid
31+
kill "$pid"
32+
wait "$pid"
3233
fi
3334
done
3435
rm -f "$TEST_CTX_SIZE_LAB_SERVE_LOG_FILE" \
@@ -234,8 +235,6 @@ EOF
234235
}
235236

236237
test_temp_server(){
237-
nc -l 8000 --keep-open &
238-
PID_SERVE=$!
239238
sed -i 's/INFO/DEBUG/g' config.yaml
240239
expect -c '
241240
set timeout 120

0 commit comments

Comments
 (0)