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

use cgo in mockgen #974

Merged
merged 3 commits into from
Oct 27, 2023
Merged

use cgo in mockgen #974

merged 3 commits into from
Oct 27, 2023

Conversation

ceyonur
Copy link
Collaborator

@ceyonur ceyonur commented Oct 26, 2023

Why this should be merged

Ports changes from ava-labs/avalanchego#2184 to fix flaky mockgen.

Closes: #972

How this works

Uses -O2 flag for CGO flags and imports it in mockgen script.

How this was tested

This should fix flaky tests.

@ceyonur ceyonur self-assigned this Oct 26, 2023
@ceyonur ceyonur added bug Something isn't working testing This primarly focuses on testing labels Oct 26, 2023
@ceyonur ceyonur removed the bug Something isn't working label Oct 26, 2023
@ceyonur ceyonur enabled auto-merge (squash) October 26, 2023 18:34
@ceyonur ceyonur merged commit aa59dc4 into master Oct 27, 2023
8 checks passed
@ceyonur ceyonur deleted the cgo-in-mockgen branch October 27, 2023 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing This primarly focuses on testing
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Auto-Generated Code Checker is flaky
3 participants