Skip to content

Commit 89642d8

Browse files
authored
Merge pull request #3700 from tronprotocol/stest_adapt_api_fix
Stest adapt api fix
2 parents 1660a80 + 7b939e4 commit 89642d8

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

framework/src/test/java/stest/tron/wallet/dailybuild/account/TransactionFee001.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
import stest.tron.wallet.common.client.Parameter.CommonConstant;
3131
import stest.tron.wallet.common.client.utils.PublicMethed;
3232
import stest.tron.wallet.common.client.utils.PublicMethedForMutiSign;
33+
import stest.tron.wallet.common.client.utils.Retry;
3334
import stest.tron.wallet.common.client.utils.Sha256Hash;
3435

3536

@@ -181,7 +182,8 @@ public void test01DeployContractEnergyFeeToSr() {
181182
Assert.assertEquals(beforeBurnTrxAmount,afterBurnTrxAmount);
182183
}
183184

184-
@Test(enabled = true, description = "Test update account permission fee to black hole,"
185+
@Test(enabled = true, retryAnalyzer = Retry.class,
186+
description = "Test update account permission fee to black hole,"
185187
+ "trans with multi sign and fee to sr")
186188
public void test02UpdateAccountPermissionAndMultiSiginTrans() {
187189
ECKey ecKey1 = new ECKey(Utils.getRandom());

framework/src/test/java/stest/tron/wallet/dailybuild/internaltransaction/ContractInternalTransaction003.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
import stest.tron.wallet.common.client.Parameter.CommonConstant;
2727
import stest.tron.wallet.common.client.utils.Base58;
2828
import stest.tron.wallet.common.client.utils.PublicMethed;
29+
import stest.tron.wallet.common.client.utils.Retry;
2930

3031
@Slf4j
3132

@@ -445,7 +446,8 @@ public void testInternalTransaction017() {
445446
dupInternalTrsansactionHash(infoById.get().getInternalTransactionsList());
446447
}
447448

448-
@Test(enabled = true, description = "Test maxfeelimit can trigger call create call max time")
449+
@Test(enabled = true,retryAnalyzer = Retry.class,
450+
description = "Test maxfeelimit can trigger call create call max time")
449451
public void testInternalTransaction018() {
450452
Assert.assertTrue(PublicMethed
451453
.sendcoin(internalTxsAddress, 100000000000L, testNetAccountAddress, testNetAccountKey,

0 commit comments

Comments
 (0)