-
Notifications
You must be signed in to change notification settings - Fork 527
tests: disable TestInitialSync on CI #5053
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,7 +21,9 @@ import ( | |
| "math/rand" | ||
| "os" | ||
| "path/filepath" | ||
| "runtime" | ||
| "strconv" | ||
| "strings" | ||
| "sync" | ||
| "testing" | ||
| "time" | ||
|
|
@@ -245,6 +247,11 @@ func TestInitialSync(t *testing.T) { | |
| t.Skip("Test takes ~25 seconds.") | ||
| } | ||
|
|
||
| if (runtime.GOARCH == "arm" || runtime.GOARCH == "arm64") && | ||
| strings.ToUpper(os.Getenv("CIRCLECI")) == "TRUE" { | ||
| t.Skip("Test is too heavy for amd64 builder running in parallel with other packages") | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is it really running in parallel with other packages though? I thought we don't allow that
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. try
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is far as I know, tests do not run with others when t.Parallel() is not called. If we are running things in parallel, something has changed!
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. t.Parallel() takes effect only within a single package (test binary)
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we disable package-level parallelism in CI by passing
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. oh, I expected it calling make test. Then it is very weird it fails time to time |
||
| } | ||
|
|
||
| backlogPool := execpool.MakeBacklog(nil, 0, execpool.LowPriority, nil) | ||
| defer backlogPool.Shutdown() | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.