Skip to content

Commit be90869

Browse files
authored
Merge pull request tronprotocol#3177 from tronprotocol/hotfix/getRewardForSR
Hotfix/get reward for sr
2 parents d717a21 + 8c0bbf7 commit be90869

File tree

3 files changed

+238
-395
lines changed

3 files changed

+238
-395
lines changed

framework/src/test/java/stest/tron/wallet/dailybuild/http/HttpSrReward.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public class HttpSrReward {
4646
*/
4747
@Test(enabled = true, description = "Get now current cycles")
4848
public void test01GetnowCurrentCycles() {
49-
Integer retryTime = 20;
49+
Integer retryTime = 100;
5050
while (cycle < 3 && retryTime-- > 0) {
5151
response = HttpMethed.getCurrentCycle(httpnode);
5252
Assert.assertEquals(response.getStatusLine().getStatusCode(), 200);
@@ -130,7 +130,7 @@ public void test04GetSrProfitByCycle() throws Exception {
130130
* constructor.
131131
*/
132132
@Test(enabled = true, description = "Get SR dividends by cycle")
133-
public void test05GetSrProfitByCycle() throws Exception {
133+
public void test05GetSrDividendsByCycle() throws Exception {
134134
response = HttpMethed
135135
.getSrDividendsByCycle(httpnode, srAddress,cycle - 1, cycle + 2);
136136
responseContent = HttpMethed.parseResponseContent(response);

0 commit comments

Comments
 (0)