mirror of
https://github.com/logos-blockchain/logos-blockchain-e2e-tests.git
synced 2026-01-07 23:53:07 +00:00
fix: add fixture
This commit is contained in:
parent
096baf0001
commit
bf7644bcf4
@ -1,3 +1,5 @@
|
|||||||
|
import pytest
|
||||||
|
|
||||||
from src.libs.common import delay, to_app_id, to_index
|
from src.libs.common import delay, to_app_id, to_index
|
||||||
from src.libs.custom_logger import get_custom_logger
|
from src.libs.custom_logger import get_custom_logger
|
||||||
from src.steps.da import StepsDataAvailability
|
from src.steps.da import StepsDataAvailability
|
||||||
@ -9,7 +11,8 @@ logger = get_custom_logger(__name__)
|
|||||||
class TestDosRobustness(StepsDataAvailability):
|
class TestDosRobustness(StepsDataAvailability):
|
||||||
main_nodes = []
|
main_nodes = []
|
||||||
|
|
||||||
def test_spam_protection_data_uploads(self):
|
@pytest.mark.parametrize("setup_2_node_cluster", [2], indirect=True)
|
||||||
|
def test_spam_protection_data_uploads(self, setup_2_node_cluster):
|
||||||
delay(5)
|
delay(5)
|
||||||
successful_dispersals = 0
|
successful_dispersals = 0
|
||||||
for i in range(1000):
|
for i in range(1000):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user