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

Use mirror_rosetta user in rosetta integration test #8071

Open
xin-hedera opened this issue Apr 11, 2024 · 0 comments
Open

Use mirror_rosetta user in rosetta integration test #8071

xin-hedera opened this issue Apr 11, 2024 · 0 comments
Labels
enhancement Type: New feature rosetta Area: Rosetta API test Test infrastructure, automated tests required, etc

Comments

@xin-hedera
Copy link
Collaborator

Problem

Follow the common pattern in other modules, we should use the same db user mirror_rosetta with readonly permissions in rosetta integration test as in production deployments.

Solution

  • change rosetta integration test to use mirror_rosetta user, need to randomize mirror_rosetta password during setup to avoid security scan complaints
  • use mirror_node to delete data in integration test where applicable

Alternatives

No response

@xin-hedera xin-hedera added enhancement Type: New feature test Test infrastructure, automated tests required, etc rosetta Area: Rosetta API labels Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Type: New feature rosetta Area: Rosetta API test Test infrastructure, automated tests required, etc
Projects
None yet
Development

No branches or pull requests

1 participant