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

add E2E test for token plugins with remote names #920

Merged
merged 5 commits into from
Aug 5, 2022

Conversation

shorsher
Copy link
Member

@shorsher shorsher commented Aug 2, 2022

Adds a new test suite for tokens plugins with remote names.

Fixes #929

@codecov-commenter
Copy link

codecov-commenter commented Aug 3, 2022

Codecov Report

Merging #920 (c45048f) into main (e903554) will increase coverage by 0.01%.
The diff coverage is n/a.

❗ Current head c45048f differs from pull request most recent head 17da823. Consider uploading reports for the commit 17da823 to get more accurate results

@@            Coverage Diff             @@
##             main     #920      +/-   ##
==========================================
+ Coverage   99.97%   99.98%   +0.01%     
==========================================
  Files         299      299              
  Lines       19481    19465      -16     
==========================================
- Hits        19476    19462      -14     
+ Misses          4        3       -1     
+ Partials        1        0       -1     
Impacted Files Coverage Δ
internal/definitions/handler.go 100.00% <0.00%> (ø)
internal/dataexchange/ffdx/ffdx.go 100.00% <0.00%> (ø)
internal/identity/identitymanager.go 100.00% <0.00%> (ø)
internal/networkmap/register_node.go 100.00% <0.00%> (ø)
internal/dataexchange/ffdx/dxevent.go 100.00% <0.00%> (ø)
internal/orchestrator/orchestrator.go 100.00% <0.00%> (ø)
internal/database/sqlcommon/ffi_sql.go 100.00% <0.00%> (ø)
internal/database/sqlcommon/pin_sql.go 100.00% <0.00%> (ø)
internal/privatemessaging/operations.go 100.00% <0.00%> (ø)
internal/privatemessaging/recipients.go 100.00% <0.00%> (ø)
... and 16 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Signed-off-by: Alex Shorsher <alex.shorsher@kaleido.io>
Signed-off-by: Alex Shorsher <alex.shorsher@kaleido.io>
@shorsher shorsher force-pushed the remote-names-tokens branch from 6577b38 to ea9abec Compare August 4, 2022 18:26
Now the test suite will wait until the newly created namespace is available before proceeding

Signed-off-by: Alex Shorsher <alex.shorsher@kaleido.io>
Copy link
Contributor

@awrichar awrichar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good, but left some comments for consideration.

 - adds helper function for changing a plugin local name

Signed-off-by: Alex Shorsher <alex.shorsher@kaleido.io>
@awrichar
Copy link
Contributor

awrichar commented Aug 4, 2022

Since this is a new runner, it may need to be added to the GitHub Workflow test matrixes for PR jobs and integration.

@shorsher
Copy link
Member Author

shorsher commented Aug 5, 2022

I see the integration tests haven't been updated to even include gateway suites, so I'll file an issue

Signed-off-by: Alex Shorsher <alex.shorsher@kaleido.io>
@shorsher shorsher force-pushed the remote-names-tokens branch from c45048f to 17da823 Compare August 5, 2022 01:15
@shorsher shorsher merged commit a60dd6c into hyperledger:main Aug 5, 2022
@shorsher shorsher deleted the remote-names-tokens branch August 5, 2022 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tokens-only test moves forward too quickly after reset
3 participants