mirror of
https://github.com/logos-messaging/logos-messaging-interop-tests.git
synced 2026-07-02 22:49:29 +00:00
run CI for latest release (#190)
* run CI for latest release * Fix failing CI tests * fix: add RLN_CREDENTIALS variable to workflow * fix: skip RLN tests temporarily * revert back to latest release * remove the deleted metric --------- Co-authored-by: Roman <zajic@zajic.net>
This commit is contained in:
parent
2267b49254
commit
0b84eb35c2
1
.github/workflows/pr_tests.yml
vendored
1
.github/workflows/pr_tests.yml
vendored
@ -230,6 +230,7 @@ jobs:
|
||||
NODE_1: "wakuorg/nwaku:latest"
|
||||
NODE_2: "wakuorg/nwaku:latest"
|
||||
ADDITIONAL_NODES: "wakuorg/nwaku:latest,wakuorg/nwaku:latest,wakuorg/nwaku:latest"
|
||||
RLN_CREDENTIALS: ${{ secrets.RLN_CREDENTIALS }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
||||
@ -23,6 +23,7 @@ class StepsLightPush(StepsCommon):
|
||||
test_pubsub_topic = VALID_PUBSUB_TOPICS[0]
|
||||
test_payload = "Light push works!!"
|
||||
default_message_propagation_delay = 0.1
|
||||
num_shards_in_network = 8
|
||||
|
||||
@pytest.fixture(scope="function", autouse=True)
|
||||
def light_push_setup(self):
|
||||
|
||||
@ -237,7 +237,6 @@ METRICS_WITH_INITIAL_VALUE_ZERO = [
|
||||
"waku_rln_total_generated_proofs",
|
||||
"libp2p_pubsub_sig_verify_success_total",
|
||||
"libp2p_pubsub_sig_verify_failure_total",
|
||||
"libp2p_pubsub_disconnects_over_non_priority_queue_limit_total",
|
||||
"libp2p_pubsub_peers",
|
||||
"libp2p_pubsub_unsubscriptions_total",
|
||||
"libp2p_pubsub_validation_success_total",
|
||||
|
||||
@ -155,6 +155,8 @@ class TestLightPushPublish(StepsLightPush):
|
||||
assert not success_content_topics, f"Invalid Content topics that didn't failed: {success_content_topics}"
|
||||
|
||||
def test_light_push_with_missing_pubsub_topics(self):
|
||||
# use auto sharding so the shard is derived from the content topic instead of a pubsub topic
|
||||
self.setup_first_lightpush_node(num_shards_in_network=self.num_shards_in_network)
|
||||
try:
|
||||
self.light_push_node1.send_light_push_message({"message": self.create_message()})
|
||||
except Exception as ex:
|
||||
|
||||
@ -13,6 +13,7 @@ from src.test_data import SAMPLE_INPUTS
|
||||
logger = get_custom_logger(__name__)
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="Skip all RLN tests during transition phase")
|
||||
@pytest.mark.xdist_group(name="RLN serial tests")
|
||||
class TestRelayRLN(StepsRLN, StepsRelay):
|
||||
SAMPLE_INPUTS_RLN = SAMPLE_INPUTS + SAMPLE_INPUTS + SAMPLE_INPUTS
|
||||
|
||||
@ -101,7 +101,9 @@ class TestRunningNodesAutosharding(StepsSharding):
|
||||
self.check_published_message_reaches_relay_peer(pubsub_topic=pubsub_topic)
|
||||
|
||||
def test_node_uses_both_auto_and_regular_apis(self):
|
||||
self.setup_main_relay_nodes(cluster_id=self.auto_cluster, pubsub_topic=self.test_pubsub_topic)
|
||||
self.setup_main_relay_nodes(
|
||||
cluster_id=self.auto_cluster, num_shards_in_network=self.num_shards_in_network, pubsub_topic=self.test_pubsub_topic
|
||||
)
|
||||
self.subscribe_main_relay_nodes(content_topics=["/toychat/2/huilong/proto"])
|
||||
self.check_published_message_reaches_relay_peer(content_topic="/toychat/2/huilong/proto")
|
||||
self.subscribe_main_relay_nodes(pubsub_topics=[self.test_pubsub_topic])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user