mirror of
https://github.com/logos-messaging/logos-messaging-interop-tests.git
synced 2026-01-02 14:03:08 +00:00
Compare commits
5 Commits
master
...
SMOKE_TEST
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6027bd8a45 | ||
|
|
1c6677a49a | ||
|
|
3aa46bc351 | ||
|
|
b0204f8f75 | ||
|
|
c6668f3d66 |
2
.github/workflows/test_PR_image.yml
vendored
2
.github/workflows/test_PR_image.yml
vendored
@ -43,7 +43,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
repository: logos-messaging/logos-messaging-interop-tests
|
||||
ref: SMOKE_TEST_STABLE
|
||||
ref: SMOKE_TEST_0.0.1
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
|
||||
|
||||
24
README.md
24
README.md
@ -1,13 +1,13 @@
|
||||
# logos-messaging-interop-tests
|
||||
# waku-interop-tests
|
||||
|
||||
Logos Messaging end‑to‑end (e2e) interoperability test framework for the [Waku v2 protocol](https://rfc.vac.dev/spec/10/). It exercises multiple clients (logos-messaging-nim, js‑waku, go‑waku…) in realistic network topologies and reports results via Allure.
|
||||
Waku end‑to‑end (e2e) interoperability test framework for the [Waku v2 protocol](https://rfc.vac.dev/spec/10/). It exercises multiple clients (nwaku, js‑waku, go‑waku…) in realistic network topologies and reports results via Allure.
|
||||
|
||||
## Setup & contribution
|
||||
|
||||
```bash
|
||||
# Use sparse checkout since the repo has large history
|
||||
git clone --depth=1 git@github.com:logos-messaging/logos-messaging-interop-tests.git
|
||||
cd logos-messaging-interop-tests
|
||||
cd waku-interop-tests
|
||||
|
||||
# create and activate a virtual environment
|
||||
python -m venv .venv
|
||||
@ -52,7 +52,7 @@ To launch it manually:
|
||||
2. Click **► Run workflow**.
|
||||
3. Pick the branch you want to test (defaults to `master`) and press **Run workflow**.
|
||||
|
||||
### On‑demand matrix against custom *logos-messaging-nim* versions
|
||||
### On‑demand matrix against custom *nwaku* versions
|
||||
|
||||
Use **interop\_tests.yml** when you need to test a PR or a historical image:
|
||||
|
||||
@ -65,11 +65,21 @@ Use **interop\_tests.yml** when you need to test a PR or a historical image:
|
||||
* When the job finishes GitHub will display an **Allure Report** link in the run summary.
|
||||
* The bot also posts the same link in the **Waku / test‑reports** Discord channel.
|
||||
|
||||
### Updating the CI job used from *logos-messaging-nim*
|
||||
### Updating the CI job used from *nwaku*
|
||||
|
||||
In the **logos-messaging-nim** repository itself the file `.github/workflows/test_PR_image.yml` pins the interop test version to `SMOKE_TEST_STABLE`.
|
||||
In the **nwaku** repository itself the file `.github/workflows/test_PR_image.yml` pins the interop test version.
|
||||
To update it:
|
||||
|
||||
To update it, move the `SMOKE_TEST_STABLE` tag to point to the desired commit in `waku-interop-tests`.
|
||||
1. Tag the desired commit in `waku-interop-tests` and push the tag
|
||||
|
||||
```bash
|
||||
git tag vX.Y.Z
|
||||
git push origin vX.Y.Z
|
||||
```
|
||||
|
||||
2. Edit `test_PR_image.yml` in **nwaku** and set `ref: vX.Y.Z` for the `tests` job.
|
||||
|
||||

|
||||
|
||||
## License
|
||||
|
||||
|
||||
@ -66,7 +66,7 @@ class TestDiscv5(StepsRelay, StepsFilter, StepsStore, StepsLightPush):
|
||||
self.light_push_node1 = self.running_a_node(
|
||||
NODE_2,
|
||||
lightpush="true",
|
||||
relay="true",
|
||||
relay="false",
|
||||
discv5_bootstrap_node=self.receiving_node1.get_enr_uri(),
|
||||
lightpushnode=self.receiving_node1.get_multiaddr_with_id(),
|
||||
)
|
||||
|
||||
@ -60,7 +60,7 @@ class TestRunningNodes(StepsStore):
|
||||
def test_store_lightpushed_message(self):
|
||||
self.setup_first_publishing_node(store="true", relay="true", lightpush="true")
|
||||
self.setup_second_publishing_node(store="false", relay="true")
|
||||
self.setup_first_store_node(store="false", relay="true", lightpush="true", lightpushnode=self.multiaddr_list[0])
|
||||
self.setup_first_store_node(store="false", relay="false", lightpush="true", lightpushnode=self.multiaddr_list[0])
|
||||
self.subscribe_to_pubsub_topics_via_relay()
|
||||
self.publish_message(via="lightpush", sender=self.store_node1)
|
||||
self.check_published_message_is_stored(page_size=5, ascending="true")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user