Skip to content

Commit

Permalink
add sleep before count
Browse files Browse the repository at this point in the history
  • Loading branch information
badgersrus committed Jul 17, 2024
1 parent 2b05904 commit a536c49
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/ten/ten_cor_013/run.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import time
from ten.test.basetest import TenNetworkTest
from ten.test.contracts.storage import Storage

Expand Down Expand Up @@ -25,6 +26,7 @@ def execute(self):
# perform some transactions
for i in range(0,4):
network.transact(self, web3, storage.contract.functions.store(i), account, storage.GAS_LIMIT)
time.sleep(1)
self.log.info('Count after single tx: %d' % self.scan_get_total_transaction_count())

txs_after_storing = self.scan_get_total_transaction_count()
Expand Down

0 comments on commit a536c49

Please sign in to comment.