Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreyDallas committed Sep 27, 2023
1 parent c9d7e56 commit 5e52051
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -99,7 +99,7 @@ public class AccountBalancesClientSaveLoadTest extends LoadTest {
List<Pair<Integer, Integer>> tokenAcctAssociations = new ArrayList<>();

private final ResponseCodeEnum[] permissiblePrechecks = new ResponseCodeEnum[] {
OK, BUSY, DUPLICATE_TRANSACTION, PLATFORM_TRANSACTION_NOT_CREATED, ACCOUNT_ID_DOES_NOT_EXIST, ACCOUNT_DELETED
OK, BUSY, DUPLICATE_TRANSACTION, PLATFORM_TRANSACTION_NOT_CREATED, ACCOUNT_ID_DOES_NOT_EXIST, ACCOUNT_DELETED
};

public static void main(String... args) {
Expand Down Expand Up @@ -166,8 +166,8 @@ private HapiSpec runAccountBalancesClientSaveLoadTest() {
List<HapiSpecOperation> ops = new ArrayList<>();
String acctName = null;
for (int i = acctProcessed + 1;
i <= acctProcessed + batchSize && i <= totalAccounts;
i++) {
i <= acctProcessed + batchSize && i <= totalAccounts;
i++) {
acctName = ACCT_NAME_PREFIX + i;
// Make sure the named account was created before
// query its balances.
Expand Down Expand Up @@ -322,7 +322,7 @@ public Optional<HapiSpecOperation> get() {
String senderAcctName = ACCT_NAME_PREFIX + tokenAndSenderOrd;
String receivedAcctName = ACCT_NAME_PREFIX + receiverOrd;
var op = cryptoTransfer(moving(RANDOM.nextInt(MAX_TOKEN_TRANSFER) + 1L, tokenName)
.between(senderAcctName, receivedAcctName))
.between(senderAcctName, receivedAcctName))
.hasKnownStatusFrom(
OK,
SUCCESS,
Expand Down

0 comments on commit 5e52051

Please sign in to comment.