Skip to content

Flaky test due to missing assets #357

Answered by gurgeous
robbevp asked this question in Q&A
Discussion options

You must be logged in to vote

I can chime in here - in our case this was caused by running tests in parallel. We've been having intermittent errors as well and I finally dug into it this weekend... It happens when multiple tests trigger the vite build at the same time. Of course, the next time you run tests the vite build will be up to date and things work perfectly.

I can make it happen by running this:

$ rm -rf public/vite-test && rake test

We are now trying to mitigate in several ways:

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@ElMassimo
Comment options

@robbevp
Comment options

Answer selected by ElMassimo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants