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

playground/vue-server-origin test fails #9849

Closed
7 tasks done
tony19 opened this issue Aug 25, 2022 · 0 comments · Fixed by #9851
Closed
7 tasks done

playground/vue-server-origin test fails #9849

tony19 opened this issue Aug 25, 2022 · 0 comments · Fixed by #9851

Comments

@tony19
Copy link
Contributor

tony19 commented Aug 25, 2022

Describe the bug

The vue-server-origin test frequently fails on my machine. The problem is server.origin is configured to a fake URL (https://vue-server-origin.test), which the test browser tries to resolve. The resolution timeout varies and is sometimes longer than the 30-second hook timeout, which causes a test failure in the playground.

Since the server.origin value can be any fake URL, one solution is to switch to http://localhost/server-origin/test, which resolves instantly.

Reproduction

https://github.com/vitejs/vite

System Info

System:
    OS: macOS 11.6.7
    CPU: (8) x64 Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz
    Memory: 385.32 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.17.0 - ~/n/bin/node
    Yarn: 1.22.19 - ~/n/bin/yarn
    npm: 8.15.0 - ~/n/bin/npm
  Browsers:
    Chrome: 104.0.5112.101
    Chrome Canary: 107.0.5260.0
    Firefox: 103.0.2
    Safari: 15.6
  npmPackages:
    vite: workspace:* => 3.0.9

Used Package Manager

pnpm

Logs

No response

Validations

@github-actions github-actions bot locked and limited conversation to collaborators Sep 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant