-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Update mercury e2e tests to support new mercury plugin and hmac auth #8683
Merged
skudasov
merged 52 commits into
develop
from
update-mercury-e2e-tests-for-new-plugin-and-hmac
Mar 15, 2023
Merged
Update mercury e2e tests to support new mercury plugin and hmac auth #8683
skudasov
merged 52 commits into
develop
from
update-mercury-e2e-tests-for-new-plugin-and-hmac
Mar 15, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…rcury-e2e-tests-for-new-plugin-and-hmac
HMAC calls has to be fixed
The new contract contains new report fields https://github.com/smartcontractkit/mercury/tree/report-field-reorder
anirudhwarrier
requested changes
Mar 14, 2023
@anirudhwarrier could you please review again? |
…-plugin-and-hmac' into update-mercury-e2e-tests-for-new-plugin-and-hmac
lukaszcl
force-pushed
the
update-mercury-e2e-tests-for-new-plugin-and-hmac
branch
from
March 15, 2023 01:33
40adf2e
to
d5867c1
Compare
…-plugin-and-hmac' into update-mercury-e2e-tests-for-new-plugin-and-hmac # Conflicts: # integration-tests/load/mercury_test.go # integration-tests/smoke/mercury_test.go # integration-tests/testsetups/mercury/mercury.go
skudasov
previously approved these changes
Mar 15, 2023
anirudhwarrier
previously approved these changes
Mar 15, 2023
skudasov
approved these changes
Mar 15, 2023
SonarQube Quality Gate 0 Bugs No Coverage information |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
TODO
This updates e2e tests to work with for latest mercury changes:
This requires mercury infra-chart from https://github.com/smartcontractkit/infra-charts/pull/495 (until merged, set it via local chainlink-env). Also, here are latest env vars:
Load tests were updated to use HMAC auth. cc @skudasov
Also, the code was refactored and a new way to re-use existing env and contracts was added. Now, every time when
MERCURY_KEEP_ENV=true
is set andsmoke/mercury_test.go
is executed, a config file is created with mercury contracts and credentials to re-use in next execution.Example logs:
To reuse the env and contracts in next test, simply set
MERCURY_ENV_CONFIG_PATH="/Users/lukasz/Documents/smartcontractkit/chainlink/integration-tests/smoke/logs/d1032aab-d9cc-44d5-a6f4-2e64a0a85110.json