File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/itest/java/com/iexec/blockchain Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 3434import org .web3j .crypto .Sign ;
3535
3636import java .math .BigInteger ;
37+ import java .time .Duration ;
3738import java .util .ArrayList ;
3839import java .util .List ;
3940import java .util .Optional ;
@@ -152,7 +153,8 @@ public void shouldBurstTransactionsWithAverageOfOneTxPerBlock(){
152153 }
153154
154155 private String triggerDeal (int taskVolume ) {
155- int secondsPollingInterval = POLLING_INTERVAL_MS / 1000 ;
156+ int secondsPollingInterval = Duration .ofMillis (POLLING_INTERVAL_MS )
157+ .toSecondsPart ();
156158 int secondsTimeout = secondsPollingInterval * MAX_POLLING_ATTEMPTS ;
157159 String appAddress = iexecHubService .createApp (buildRandomName ("app" ),
158160 "docker.io/repo/name:1.0.0" ,
You can’t perform that action at this time.
0 commit comments