Skip to content

Commit

Permalink
debug: ci 15
Browse files Browse the repository at this point in the history
  • Loading branch information
07akioni committed Apr 18, 2024
1 parent c06c5ff commit f9ac194
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions packages/test/tests/before-test.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
pnpm exec rollup -c rollup.config.js
cd ./server
go run main.go > /dev/null 2>&1 &
go run main.go &
echo $! > SERVER_PID
go run main.go cors > /dev/null 2>&1 &
go run main.go cors &
echo $! > CORS_SERVER_PID
echo "Waiting for servers to start..."
echo "PID 1"
cat ./SERVER_PID
echo "PID 2"
cat ./CORS_SERVER_PID
sleep 15
echo "Sleep done"
curl -v http://localhost:8091
echo "!!!1"
curl -v http://localhost:8092/api/get-return-headers
echo "!!!2"

0 comments on commit f9ac194

Please sign in to comment.