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(scripts): overwrite test folder for protocol_tests #2853

Merged
merged 2 commits into from Sep 30, 2021

Conversation

trivikr
Copy link
Member

@trivikr trivikr commented Sep 30, 2021

Issue

In the codegen PR to move source code from source folder to "src", there was an incorrect check for folder name for protocol_tests for overwriting "test" folder. It checked for folder name aws- instead of package name @aws-sdk/aws-.

This issue was noticed in #2840

Description

Check for full package name before overwriting the "test" folder.

Testing

Verified that:

  • yarn test:protocols is successful.
  • Generating s3 client does not overwrite "test" folder in client-s3.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov-commenter
Copy link

Codecov Report

Merging #2853 (38486a9) into main (94d0a2d) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2853   +/-   ##
=======================================
  Coverage   60.42%   60.42%           
=======================================
  Files         554      554           
  Lines       28886    28886           
  Branches     7072     7072           
=======================================
  Hits        17453    17453           
  Misses      11433    11433           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 94d0a2d...38486a9. Read the comment docs.

@AllanZhengYP
Copy link
Contributor

This PR needs to be merged to validate the GH Action server-protocol-tests is fixed.

@AllanZhengYP AllanZhengYP merged commit 5df7d12 into aws:main Sep 30, 2021
@trivikr trivikr deleted the overwrite-test-folder-protocol-tests branch October 7, 2021 22:58
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants