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

Tests fail randomly on travis because vendor-bundle is not found #475

Closed
UberMouse opened this issue Jul 12, 2016 · 4 comments
Closed

Tests fail randomly on travis because vendor-bundle is not found #475

UberMouse opened this issue Jul 12, 2016 · 4 comments

Comments

@UberMouse
Copy link
Contributor

I raised this issue before in #416 and it's still causing me problems.

Here is an example of a build that fails because vendor-bundle cannot be found https://travis-ci.org/DigitalNZ/supplejack_website/builds/144069648

I'm running the latest version of the Gem. It's becoming quite a problem with our tests on Travis, it never happens locally.

@justin808
Copy link
Member

@UberMouse I'd be very interested in a PR that addresses this.

Also, if there's any chance we can collaborate on shakacode/react-webpack-rails-tutorial#277, I'd be thrilled. I can't get this pass locally or on Travis.

@justin808
Copy link
Member

@UberMouse Is there anything we can do about this? I'd say we close this for now until we figure out a solution. The obvious workaround is you restart your tests.

@UberMouse
Copy link
Contributor Author

I haven't had any time to investigate this so no progress. It sometimes takes quite a lot of reruns before it successfully passes (or fails), sometimes making a new commit helps to fix it which is rather strange.

@UberMouse
Copy link
Contributor Author

Just to update this, we've switched to Gitlab CI for our projects, I was hoping that might fix the problem but it didn't end up resolving it. However, I decided to do an explicit build of the webpack bundle before the test runs instead of relying on React on Rails to build it during the test and this appears to have solved the problem. Haven't had any builds fail due to missing vendor-bundle.js since that change was made and there's probably been about ~1,500 builds since then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants