Skip to content

Commit a1014cf

Browse files
author
wangzihe
committed
Change the delay second from 200 to one day
1 parent 64c2fdb commit a1014cf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/main/java/org/tron/stresstest/dispatch/creator/transfer/DelaySendCoin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public class DelaySendCoin extends AbstractTransferTransactionCreator implements
2323
private String toAddress = commonToAddress;
2424
private long amount = 13L;
2525
private String privateKey = commonOwnerPrivateKey;
26-
private Long delaySeconds = 200L;
26+
private Long delaySeconds = 3600 * 24L;
2727
public static final int UNEXECUTEDDEFERREDTRANSACTION = 1;
2828

2929
@Override

src/test/java/stest/tron/wallet/precondition/StressPrecondition.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,12 +164,12 @@ public void test1CreateProposal() {
164164
logger.info("24 value is " + getChainParameters.get().getChainParameter(24).getValue());
165165
proposalMap.put(24L, 1L);
166166
}
167-
if (getChainParameters.get().getChainParameter(32).getValue() == 0L) {
167+
/* if (getChainParameters.get().getChainParameter(32).getValue() == 0L) {
168168
proposalMap.put(28L, 1L);
169169
}
170170
if (getChainParameters.get().getChainParameter(31).getValue() == 0L) {
171171
proposalMap.put(29L, 1L);
172-
}
172+
}*/
173173

174174
if (proposalMap.size() >= 1) {
175175

@@ -194,7 +194,7 @@ public void test1CreateProposal() {
194194
PublicMethed.waitProduceNextBlock(blockingStubFull);
195195
PublicMethed.approveProposal(witness005Address, witnessKey005, proposalId,
196196
true, blockingStubFull);
197-
waitProposalApprove(32,blockingStubFull);
197+
waitProposalApprove(22,blockingStubFull);
198198
}
199199
}
200200

0 commit comments

Comments
 (0)