aboutsummaryrefslogtreecommitdiff
path: root/integration
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-11-16 07:27:57 -0800
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2021-12-16 19:18:51 -0800
commitcec59bc58085a862c867264b594f1be3350f1b8c (patch)
tree4582f007f5dcb3340dd2798253ac48aaa0319fce /integration
parentdff23f5a7b073cb9fb2462c6cfb2c0fcbdc62308 (diff)
downloadbun-cec59bc58085a862c867264b594f1be3350f1b8c.tar.gz
bun-cec59bc58085a862c867264b594f1be3350f1b8c.tar.zst
bun-cec59bc58085a862c867264b594f1be3350f1b8c.zip
don't need sleep since not a universal binary anymore
Diffstat (limited to 'integration')
-rw-r--r--integration/apps/bun-create-next.sh12
1 files changed, 5 insertions, 7 deletions
diff --git a/integration/apps/bun-create-next.sh b/integration/apps/bun-create-next.sh
index fc1318886..4ad25bd51 100644
--- a/integration/apps/bun-create-next.sh
+++ b/integration/apps/bun-create-next.sh
@@ -2,15 +2,13 @@
# The important part of this test: make sure that Bun.js successfully loads
# The most likely reason for this test to fail is that something broke in the JavaScriptCore <> Bun integration
-killall -9 $(basename $BUN_BIN) || echo "";
+killall -9 $(basename $BUN_BIN) || echo ""
-rm -rf /tmp/next-app;
-mkdir -p /tmp/next-app;
-$BUN_BIN create next /tmp/next-app;
-cd /tmp/next-app;
+rm -rf /tmp/next-app
+mkdir -p /tmp/next-app
+$BUN_BIN create next /tmp/next-app
+cd /tmp/next-app
BUN_CRASH_WITHOUT_JIT=1 $BUN_BIN --port 8087 &
-sleep 0.005
curl --fail http://localhost:8087/ && killall -9 $(basename $BUN_BIN) && echo "✅ bun create next passed."
exit $?
-