-
Notifications
You must be signed in to change notification settings - Fork 80
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
Enable run on macOS #108
Enable run on macOS #108
Conversation
Let's also add Darwin to CI? |
Anything I can do from my side? |
Yes @sharp-pixel! Add |
Added |
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.
How about this?
Hum, time based unit tests... interesting. A suggestion would be to remove these tests on the build system, but run them at start of an actual benchmark to validate that the system running it is within accuracy limits. Open for discussion. |
Generally, I recommend disabling unpredictable/unreliable tests and opening an issue to replace/fix them to be 100% reliable. |
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.
Based on the mac CI unit tests, there's other tests that are time specific and will need to be disabled as well
FAILED tests/client_test.py::RequestContextManagerTests::test_propagates_nested_context
FAILED tests/worker_coordinator/runner_test.py::CompositeTests::test_adds_request_timings
Rest LGTM
Looking further into the ramifications of removing _doc
The |
If we want to still support older versions, we would need two versions of the templates, check version and use the correct ones. |
It looks like I see two options:
Either option seems fine to me. Curious to hear others' thoughts |
- Upgraded versions of Python that are aware of the Apple Silicon architecture - Use mock to patch cpu_arch for `test_release_repo_config_with_user_url` so that `x64` is returned - Fix message to launch workload - Update templates for OpenSearch output Signed-off-by: Cédric Pelvet <[email protected]>
Signed-off-by: Cédric Pelvet <[email protected]>
Signed-off-by: Cédric Pelvet <[email protected]>
Signed-off-by: Cédric Pelvet <[email protected]>
Signed-off-by: Cédric Pelvet <[email protected]>
Signed-off-by: Cédric Pelvet <[email protected]>
Signed-off-by: Cédric Pelvet <[email protected]>
I made some changes:
|
Signed-off-by: Cédric Pelvet <[email protected]>
Signed-off-by: Cédric Pelvet <[email protected]>
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
Integration tests using an OpenSearch metrics store with these changes and the changes in #119 are passing
Changes were addressed, follow up issue created to break the DCO check into a separate file #120
Description
Enables run on macOS.
Note 1: due to OpenSearch 1.0.1 not being available for Apple Silicon, the integration tests fail on a Mac M1. There is not much that I can do here.
Note 2: this PR also fixes the templates to run on Amazon OpenSearch Service with OpenSearch 1.1, as the _doc is now an error.
Issues Resolved
#89
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.