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

how to use the test environment? #733

Open
jageros opened this issue Aug 21, 2024 · 1 comment
Open

how to use the test environment? #733

jageros opened this issue Aug 21, 2024 · 1 comment

Comments

@jageros
Copy link

jageros commented Aug 21, 2024

how to use the test environment?

@prokher
Copy link

prokher commented Sep 27, 2024

It seems there will be an option UseTestEnv, more details are here #558. Unfortunately looks like it is not released yet. The latest release is v3.3 and PR mentioned above is in the v3.4 branch. Meanwhile I've found a simple trick. Adding /test to the token (actually the test one) seems to be working perfectly fine.

@tucnak, may be #558 is a bit of over-engineering. Indeed, to run in the test mode I will have to use test token and set UseTestEnv: true, while adding suffix /test to the token seems to simplify things a bit by removing the step of setting UseTestEnv. In other words, with /test suffix, I can switch from prod to test simply changing the environment, without any modifications in the code. Just sharing my humble considerations.

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

No branches or pull requests

2 participants