-
Notifications
You must be signed in to change notification settings - Fork 77
Run confgenerator tests cross platform, where possible #72
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
Run confgenerator tests cross platform, where possible #72
Conversation
|
//cc @quentinmit |
|
The latest commit https://github.com/GoogleCloudPlatform/ops-agent/runs/2514781382 from the BTW, we are running into the same issue that this PR is trying to solve. Some related conversation about running unit tests cross platforms: #69 (comment) in order to easily run both Linux side and Windows side of the config generation tests from a Linux workstation. Currently the Windows side of the config generation tests need to be run from a Windows VM. |
2aa1430 to
3161c2e
Compare
56d9ddb to
1dccdc5
Compare
|
FYI that #85 (aka |
confgenerator/testdata/valid/windows/default_config/golden_otel.conf
Outdated
Show resolved
Hide resolved
confgenerator/testdata/valid/windows/default_config/golden_fluent_bit_main.conf
Show resolved
Hide resolved
|
@qingling128 I've rebased onto |
confgenerator/testdata/valid/windows/default_config/golden_fluent_bit_main.conf
Show resolved
Hide resolved
confgenerator/testdata/valid/windows/default_config/golden_otel.conf
Outdated
Show resolved
Hide resolved
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.
Sorry, one more thing…
|
@igorpeshansky, I appreciate the feedback. I've learned a few nuances to golang. |
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.
Thanks for bearing with me. Some minor remaining tweaks.
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
Thank you for the contribution!
This PR allows
confgeneratortests to run cross-platform. The tests also now run in parallel.