Skip to content

Commit

Permalink
Insert delay after server startup.
Browse files Browse the repository at this point in the history
  • Loading branch information
chr15m committed Mar 30, 2024
1 parent 1a8d66b commit bf8a5a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sitefoxtest/e2etests.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
(p/let [port-info (wait-for-port #js {:host host :port port})
pid (j/get server :pid)]
(log "Port found, server running with PID" pid)
(p/delay 1000)
(j/assoc! port-info
:process server
:kill (p/promisify #(kill pid "SIGTERM" %))))))
Expand Down

0 comments on commit bf8a5a5

Please sign in to comment.