This repository was archived by the owner on Mar 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
the integration test failed with timeout sometimes #200
Copy link
Copy link
Open
Labels
internal cleanupinternal cleanup (or a kind of refactoring)internal cleanup (or a kind of refactoring)
Milestone
Description
The integration test failed with timeout sometimes (or maybe always now?). Any chance to reduce the testing time?
Example:
- panic: test timed out after 10m0s
- cli/internal/cmd/fix_test.TestFix_v0_16_27.func2
The sequence of testing is:
testhelpers.InstallOldBuffaloCMD(t, "v0.16.27")exec.Command("buffalo", tc.newargs...)testhelpers.RunBuffaloCMD(t, []string{"fix", "-y"})testhelpers.RunBuffaloCMD(t, []string{"build"})
Issues:
- the first step takes time to build the old binary. could be replaced with install binary distribution
- the second line could work, but we cannot guarantee the generated app has really the old dependencies
- during the new app generation, node-related compilation happens and it takes a long time, and also could fail
- also the node modules are not a test target for
buffalo fix
I would like to replace steps 1 and 2 with downloading a pre-configured app tree. Will try to fix it. (but not sure if this is a good timing or I need to wait until the new generation)
https://github.com/gobuffalo/cli/runs/7427376418?check_suite_focus=true#step:4:1886
but the timeout with panic itself may not be directly related to the sequence.
https://github.com/gobuffalo/cli/runs/7427376418?check_suite_focus=true#step:4:2888
Metadata
Metadata
Assignees
Labels
internal cleanupinternal cleanup (or a kind of refactoring)internal cleanup (or a kind of refactoring)