mirror of
https://github.com/logos-messaging/logos-messaging-interop-tests.git
synced 2026-04-05 03:13:22 +00:00
test: single node registration
This commit is contained in:
parent
1b33621adf
commit
e629cc8cc0
@ -14,14 +14,14 @@ def get_env_var(var_name, default=None):
|
||||
|
||||
|
||||
# Configuration constants. Need to be upercase to appear in reports
|
||||
DEFAULT_NWAKU = "wakuorg/nwaku:latest"
|
||||
DEFAULT_NWAKU = "wakuorg/nwaku:wakunode2-v0.37.2-rc.0"
|
||||
STRESS_ENABLED = False
|
||||
NODE_1 = get_env_var("NODE_1", DEFAULT_NWAKU)
|
||||
NODE_2 = get_env_var("NODE_2", DEFAULT_NWAKU)
|
||||
ADDITIONAL_NODES = get_env_var("ADDITIONAL_NODES", f"{DEFAULT_NWAKU},{DEFAULT_NWAKU},{DEFAULT_NWAKU}")
|
||||
# more nodes need to follow the NODE_X pattern
|
||||
DOCKER_LOG_DIR = get_env_var("DOCKER_LOG_DIR", "./log/docker")
|
||||
NETWORK_NAME = get_env_var("NETWORK_NAME", "waku")
|
||||
NETWORK_NAME = get_env_var("NETWORK_NAME", "tests-functional_default")
|
||||
SUBNET = get_env_var("SUBNET", "172.18.0.0/16")
|
||||
IP_RANGE = get_env_var("IP_RANGE", "172.18.0.0/24")
|
||||
GATEWAY = get_env_var("GATEWAY", "172.18.0.1")
|
||||
|
||||
@ -17,6 +17,9 @@ logger = get_custom_logger(__name__)
|
||||
class TestRelayRLN(StepsRLN, StepsRelay):
|
||||
SAMPLE_INPUTS_RLN = SAMPLE_INPUTS + SAMPLE_INPUTS + SAMPLE_INPUTS
|
||||
|
||||
def test_single_node_registration(self, pytestconfig):
|
||||
pytestconfig.cache.set("keystore-prefixes", self.register_rln_relay_nodes(1, []))
|
||||
|
||||
@pytest.mark.smoke
|
||||
def test_valid_payloads_lightpush_at_spam_rate(self, pytestconfig):
|
||||
message_limit = 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user