Unverified Commit c51af7ca authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Update flakey GSSP preview test (#43702)

Ensures we grab a new port when launching fresh server as the existing
port may still be held up.

x-ref:
https://github.com/vercel/next.js/actions/runs/3611678257/jobs/6086329090
parent 992c46e6
......@@ -197,6 +197,7 @@ describe('ServerSide Props Preview Mode', () => {
it('should return cookies to be expired after dev server reboot', async () => {
await killApp(app)
appPort = await findPort()
app = await launchApp(appDir, appPort)
const res = await fetchViaHTTP(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment