Skip to content
Discussion options

You must be logged in to vote

Hey @RashRAJ

You can try the following command to run the e2e tests:

env OPERATOR_KEY="<OPERATOR_KEY>" OPERATOR_ID="<OPERATOR_ID>" HEDERA_NETWORK="testnet" go test -tags="e2e" -v -timeout=9999s 

About the balance issues, when the testing env is created, a new operator account is created with it as well. This new operator has initial balance of 150 HBARs, meaning your initial operator account needs to have at least 150 HBARs.
Note that when the testing env is closed, this newly created account is deleted and the remaining of it's balance is transferred back to your account.
If you want to change this for testing purposes, just edit line 129 in utilities_for_test.go (SetInitialBalance(NewH…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by hendrikebbers
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants