Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

specify inspector port to playwright preview:worker commands to avoid flakiness in e2es #51

Merged
merged 2 commits into from
Oct 7, 2024

Conversation

dario-piotrowicz
Copy link
Contributor

I think that running different wrangler dev instances in parallel can introduce flakiness as wrangler might try to reuse the same inspector port (which defaults to 9229)

Example (with no code changes):

@petebacondarwin what do you think? is this a known wrangler issue?

@dario-piotrowicz
Copy link
Contributor Author

dario-piotrowicz commented Oct 2, 2024

Another flaky run 🥲: , , , ,

examples/api/e2e/playwright.config.ts Outdated Show resolved Hide resolved
…o avoid flakiness in e2es

move inspector port setting to package.json files
Copy link

changeset-bot bot commented Oct 7, 2024

⚠️ No Changeset found

Latest commit: 57470d0

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

pkg-pr-new bot commented Oct 7, 2024

Open in Stackblitz

pnpm add https://pkg.pr.new/@opennextjs/cloudflare@51

commit: 57470d0

@petebacondarwin petebacondarwin merged commit 57c450e into main Oct 7, 2024
7 checks passed
@petebacondarwin petebacondarwin deleted the avoid-inspector-port-conflict branch October 7, 2024 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants