Skip to content

Commit ef921ba

Browse files
committed
Add @flaky_geth_dev_mining to receipt unmined tests
1 parent 3c02f28 commit ef921ba

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

web3/_utils/module_testing/eth_module.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1692,6 +1692,7 @@ async def test_async_eth_get_transaction_receipt_mined(
16921692
assert isinstance(effective_gas_price, int)
16931693
assert effective_gas_price > 0
16941694

1695+
@flaky_geth_dev_mining
16951696
@pytest.mark.asyncio
16961697
async def test_async_eth_get_transaction_receipt_unmined(
16971698
self,
@@ -1757,6 +1758,7 @@ async def test_async_eth_wait_for_transaction_receipt_mined(
17571758
assert isinstance(effective_gas_price, int)
17581759
assert effective_gas_price > 0
17591760

1761+
@flaky_geth_dev_mining
17601762
@pytest.mark.asyncio
17611763
async def test_async_eth_wait_for_transaction_receipt_unmined(
17621764
self,
@@ -3596,7 +3598,6 @@ def test_eth_replace_transaction_gas_price_defaulting_strategy_lower(
35963598
self, w3: "Web3", keyfile_account_address: ChecksumAddress
35973599
) -> None:
35983600
gas_price = w3.to_wei(2, "gwei")
3599-
36003601
txn_params: TxParams = {
36013602
"from": keyfile_account_address,
36023603
"to": keyfile_account_address,
@@ -4360,6 +4361,7 @@ def test_eth_get_transaction_receipt_mined(
43604361
assert isinstance(effective_gas_price, int)
43614362
assert effective_gas_price > 0
43624363

4364+
@flaky_geth_dev_mining
43634365
def test_eth_get_transaction_receipt_unmined(
43644366
self, w3: "Web3", keyfile_account_address_dual_type: ChecksumAddress
43654367
) -> None:
@@ -4417,6 +4419,7 @@ def test_eth_wait_for_transaction_receipt_mined(
44174419
assert isinstance(effective_gas_price, int)
44184420
assert effective_gas_price > 0
44194421

4422+
@flaky_geth_dev_mining
44204423
def test_eth_wait_for_transaction_receipt_unmined(
44214424
self, w3: "Web3", keyfile_account_address_dual_type: ChecksumAddress
44224425
) -> None:

0 commit comments

Comments
 (0)