Skip to content

Commit bd245be

Browse files
test_: Code Migration from status-cli-tests with update with constant
1 parent 4d5d3ad commit bd245be

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

tests-functional/constants.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class Account:
4747
LOW_BANDWIDTH_CMD = "sudo tc qdisc add dev eth0 root tbf rate 1kbit burst 1kbit"
4848
REMOVE_TC_CMD = "sudo tc qdisc del dev eth0 root"
4949
NUM_CONTACT_REQUESTS = int(os.getenv("NUM_CONTACT_REQUESTS", "5"))
50-
NUM_MESSAGES = int(os.getenv("NUM_MESSAGES", "1"))
51-
DELAY_BETWEEN_MESSAGES = int(os.getenv("NUM_MESSAGES", "20"))
50+
NUM_MESSAGES = int(os.getenv("NUM_MESSAGES", "20"))
51+
DELAY_BETWEEN_MESSAGES = int(os.getenv("DELAY_BETWEEN_MESSAGES", "1"))
5252
EVENT_SIGNAL_TIMEOUT_SEC = int(os.getenv("EVENT_SIGNAL_TIMEOUT_SEC", "4"))
5353
PRIVATE_GROUPS = int(os.getenv("PRIVATE_GROUPS", "20"))

tests-functional/tests/test_create_private_groups.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
@pytest.mark.usefixtures("start_2_nodes")
1313
class TestCreatePrivateGroups(StepsCommon):
1414
def test_create_group_chat_baseline(self):
15-
num_private_groups = NUM_MESSAGES
15+
num_private_groups = PRIVATE_GROUPS
1616
private_groups = []
1717
contact_request_sent = False
1818

tests-functional/tests/test_private_group_messages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
@pytest.mark.usefixtures("start_2_nodes")
1313
class TestPrivateGroupMessages(StepsCommon):
1414
def test_group_chat_messages_baseline(self):
15-
num_private_groups = NUM_MESSAGES
15+
num_private_groups = PRIVATE_GROUPS
1616
private_groups = []
1717
contact_request_sent = False
1818

0 commit comments

Comments
 (0)