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

[Fix] Add platform "darwin-arm64" to unit test #5290

Merged
merged 4 commits into from
Oct 18, 2023

Conversation

willie-hung
Copy link
Contributor

@willie-hung willie-hung commented Oct 13, 2023

Description

All the test cases can now pass for Mac (arm64) users.

Issues Resolved

Screenshot

  • My local setup:
    • Chip: Apple M1 Pro
    • macOS: Sonoma 14.0
    • Chrome Version: 117.0.5938.149 (Official Build) (arm64)
  • All the test cases pass on my end:
    Screenshot 2023-10-12 at 11 58 11 PM

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

Signed-off-by: Willie Hung <[email protected]>
@codecov
Copy link

codecov bot commented Oct 14, 2023

Codecov Report

Merging #5290 (063027e) into main (60f4c8f) will decrease coverage by 0.05%.
Report is 1 commits behind head on main.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #5290      +/-   ##
==========================================
- Coverage   66.77%   66.73%   -0.05%     
==========================================
  Files        3284     3284              
  Lines       63095    63096       +1     
  Branches    10049    10050       +1     
==========================================
- Hits        42134    42104      -30     
- Misses      18488    18510      +22     
- Partials     2473     2482       +9     
Flag Coverage Δ
Linux_1 ?
Linux_2 55.24% <ø> (ø)
Linux_3 43.84% <ø> (-0.01%) ⬇️
Linux_4 ?
Windows_1 35.27% <ø> (ø)
Windows_2 ?
Windows_3 ?
Windows_4 35.36% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
src/dev/build/lib/platform.ts 100.00% <ø> (ø)
src/dev/build/lib/config.ts 78.94% <0.00%> (-7.54%) ⬇️

... and 6 files with indirect coverage changes

@joshuarrrr
Copy link
Member

@Willie-The-Lord Looks like there are some snapshots that need updating: see https://github.com/opensearch-project/OpenSearch-Dashboards/actions/runs/6513128467/job/17696075511?pr=5290

willie-hung and others added 2 commits October 14, 2023 22:17
@joshuarrrr joshuarrrr added OSCI Open Source Contributor Initiative backport 2.x v2.12.0 labels Oct 16, 2023
@ananzh ananzh merged commit 7b3a9f6 into opensearch-project:main Oct 18, 2023
71 of 72 checks passed
@willie-hung willie-hung deleted the bug5232 branch October 18, 2023 01:27
opensearch-trigger-bot bot pushed a commit that referenced this pull request Oct 18, 2023
* Add platform "darwin-arm64" to unit test
* Update related snapshots

---------

Signed-off-by: Willie Hung <[email protected]>
Signed-off-by: Josh Romero <[email protected]>
Co-authored-by: Josh Romero <[email protected]>
(cherry picked from commit 7b3a9f6)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md
manasvinibs pushed a commit that referenced this pull request Oct 26, 2023
* Add platform "darwin-arm64" to unit test
* Update related snapshots

---------

Signed-off-by: Willie Hung <[email protected]>
Signed-off-by: Josh Romero <[email protected]>
Co-authored-by: Josh Romero <[email protected]>
(cherry picked from commit 7b3a9f6)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md
joshuarrrr added a commit that referenced this pull request Nov 3, 2023
@AMoo-Miki AMoo-Miki mentioned this pull request Nov 9, 2023
7 tasks
AMoo-Miki pushed a commit that referenced this pull request Nov 13, 2023
* Add platform "darwin-arm64" to unit test
* Update related snapshots

---------

Signed-off-by: Willie Hung <[email protected]>
Signed-off-by: Josh Romero <[email protected]>
Co-authored-by: Josh Romero <[email protected]>
(cherry picked from commit 7b3a9f6)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@bayandin bayandin mentioned this pull request Jun 24, 2024
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Unit test failure in Config.test.ts at M2 Mac mini
3 participants