-
Notifications
You must be signed in to change notification settings - Fork 660
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
#373 Follow-up #375
#373 Follow-up #375
Conversation
Signed-off-by: Wei Fu <fuweid89@gmail.com>
* Remove duplicate targets in Makefile * Use GOGC=30 to prevent high resource usage Signed-off-by: Wei Fu <fuweid89@gmail.com>
# with GOMEMLIMIT=2048MiB if the go-version is updated to >=1.19.x. | ||
# | ||
# REF: https://github.com/actions/runner-images/issues/6680#issuecomment-1335778010 | ||
GOGC=30 CPU=4 ENABLE_RACE=true make test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It will run race
mode for freelist-array as well? I recall that you mentioned running race
mode for freelist-array will fail with high possibility? can you clarify this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It will run race mode for freelist-array as well?
Yes. make test
will run cases for both hashmap and freelist.
I recall that you mentioned running race mode for freelist-array will fail with high possibility?
Yes. It happened yesterday (I run the CI in my forked repo action https://github.com/fuweid/bbolt/actions).
But in this morning, it failed random.... ( So I try to use GOGC env to limit the usage and run it 7 times successfully.
Hopefully it is not flaky in the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, thx for the clarification.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
thx @fuweid
Follow-up: #373