mirror of
https://github.com/logos-blockchain/logos-blockchain-e2e-tests.git
synced 2026-01-10 09:03:08 +00:00
fix: remove redundant fixture param
This commit is contained in:
parent
8db3014407
commit
6fd4b083fb
@ -12,7 +12,7 @@ class TestDosRobustness(StepsDataAvailability):
|
|||||||
main_nodes = []
|
main_nodes = []
|
||||||
|
|
||||||
@pytest.mark.usefixtures("setup_2_node_cluster")
|
@pytest.mark.usefixtures("setup_2_node_cluster")
|
||||||
def test_spam_protection_valid_uploads(self, setup_2_node_cluster):
|
def test_spam_protection_valid_uploads(self):
|
||||||
num_samples = len(DATA_TO_DISPERSE)
|
num_samples = len(DATA_TO_DISPERSE)
|
||||||
missing_dispersals = num_samples
|
missing_dispersals = num_samples
|
||||||
for i in range(num_samples):
|
for i in range(num_samples):
|
||||||
@ -28,7 +28,7 @@ class TestDosRobustness(StepsDataAvailability):
|
|||||||
assert missing_dispersals == 0, f"{missing_dispersals} dispersals were not successful"
|
assert missing_dispersals == 0, f"{missing_dispersals} dispersals were not successful"
|
||||||
|
|
||||||
@pytest.mark.usefixtures("setup_2_node_cluster")
|
@pytest.mark.usefixtures("setup_2_node_cluster")
|
||||||
def test_spam_protection_single_burst(self, setup_2_node_cluster):
|
def test_spam_protection_single_burst(self):
|
||||||
successful_dispersals = 0
|
successful_dispersals = 0
|
||||||
for i in range(1000):
|
for i in range(1000):
|
||||||
try:
|
try:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user