Skip to content

Commit

Permalink
Use random port for cargo test (#70926)
Browse files Browse the repository at this point in the history
We can't guarantee this port will always be available so use random one
instead

x-ref:
https://github.com/vercel/next.js/actions/runs/11221640914/job/31192432034
  • Loading branch information
ijjk authored and kdy1 committed Oct 10, 2024
1 parent 17ab172 commit 1d9afcd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const http = require("http");
const io = require("socket.io");
const opts = { port: 3000 };
const opts = { port: 0 };
const server = http.createServer((req, res) => {});
server.listen(opts.port);
server.close(() => {
Expand Down

0 comments on commit 1d9afcd

Please sign in to comment.