This repository has been archived by the owner on Dec 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(test): Replace tag and hash for find transactions related apis
When ENABLE_STAT is enabled, every api will be tested for TEST_COUNT times. send_transfer will issue TEST_COUNT transactions with tag defined in test_define.h which find transaction related apis also use to get transaction info. But after a few more times of execution, the size of retrieved transactions will get larger than the valid storage of redis cache server, then driver test would crash. This fix defines FIND_TAG_MSG and TRYTES_81_3 for retriving and another TAG_MSG for send_transfer that we can confirm the retrieved transaction info would not get larger.
- Loading branch information
Showing
2 changed files
with
9 additions
and
5 deletions.
There are no files selected for viewing
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
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