Commit Graph

105 Commits

Author SHA1 Message Date
aya 3c33fc2aca add flag filter-subscription-timeout to 600 instead of default value 300 2024-11-07 06:39:29 +02:00
aya 9c045a72cd time_limit increase to 120 to pass CI 2024-11-07 01:50:09 +02:00
aya a002fa5873 Add more wait to pass CI 2024-11-07 01:35:39 +02:00
aya 254c160f42 Decrease number of nodes to pass the CI 2024-11-07 01:11:19 +02:00
aya 9ae09a3013 Increase wait time for filter request 2024-11-07 00:42:03 +02:00
aya e50150ae2e Fix CI failure because of nwaku 2024-11-06 22:24:33 +02:00
aya fe2bd97fe9 Change max nodes to 20 when node_2 = go-waku 2024-11-06 15:07:06 +02:00
aya 048e617579 Adding changes to make go-waku tests pass 2024-11-06 14:18:03 +02:00
aya d3c59f3f90 Merge branch 'master' into E2E_tests_part2 2024-11-06 11:46:08 +02:00
aya 64a2315008 Making changes for go-waku to pass 2024-11-06 10:41:19 +02:00
aya 88a3882150 making PR ready with 3 tests 2024-11-06 09:19:29 +02:00
aya e9386bf562 Increase node limit to 1000 connection 2024-11-04 15:44:51 +02:00
aya 39b8a2bd04 Remove comments and enhance tests 2024-11-03 13:38:50 +02:00
aya 810cd6cb4d add test test_filter_50_subscribe_node 2024-10-31 16:13:53 +03:00
aya 40fa4a3411 Adding test test_filter_3_senders_45_msg_1_receiver 2024-10-31 12:30:42 +03:00
fbarbu15 4d8e7e4955
chore: histogram metric update (#84) 2024-10-31 10:11:25 +02:00
aya a4065861a7 Adding test test_filter_3_senders_1_receiver 2024-10-31 09:20:29 +03:00
aya 63348d6a16 add draft test case 2024-10-30 18:02:32 +03:00
fbarbu15 dbc5bfe0f9
fix lp test (#82) 2024-10-30 10:49:49 +02:00
AYAHASSAN287 e419b7f8a6
Waku edge tests all (#81)
* Adding function to calculate different time variants

exclude 5 tests for go-waku

* change second node to nwaku

* skip 2 tests failed for go-waku

* change node_2 back to nwaku

* skipping failed test for nwaku

* remove the skipping for nwaku node as requested
2024-10-28 12:30:40 +03:00
AYAHASSAN287 bd187ad118
adding test "test_store_not_include_data" (#76)
* adding test "test_store_not_include_data"

* adding test case for wrong peer address formatting

* try restore message with wrong peer id

* send peer address with wrong protocol

* Fixing review comments & add test for wrong topic

* adding test for topic content positive scenario

* adding test for different wrong content topic

* adding content topic & pubsubtopic tests

* adding test cases for wrong encoding 7 no encoding of pubsub topic

* adding test case test_time_filter_start_time_after_end_time

* adding more time tests

* adding tests with wrong start & end time

* adding invalid ascending test

* adding page_size tests

* adding invalid ascending test

* fix minor issues and adding comments

* fixing review comments

* minor change in test name

* Adding review comments
2024-10-24 13:16:37 +03:00
fbarbu15 aca216e95a
remove unwated software (#79)
* remove unwated software

* log fix

* log fix
2024-10-24 12:43:51 +03:00
fbarbu15 684d14c050
updated metric name (#75) 2024-10-04 09:09:40 +03:00
shashank sanket b0dc5206c9
Negative and edge cases for/store/v3/messages with query param hashes (#74)
* added test with hashes edge and boundry cases

* added 2 test with incorrect query param in cursor and hashes

* fixed linters error and handeliong for None error
2024-09-20 14:15:34 +05:30
shashank sanket 4c706c34bb
added store_test_cursor negative cases and edge cases (#73) 2024-09-18 19:54:05 +05:30
fbarbu15 790e71db48
chore/fixes for nwaku updates (#72)
* fixes

* fixes

* fixes
2024-09-13 14:38:23 +03:00
fbarbu15 ef7ffac51f
update lp errors (#71) 2024-09-12 05:58:34 +00:00
fbarbu15 86954c6270
store sync tests (#69)
* store sync tests

* fix

* store sync tests

* sync flag
2024-09-11 12:36:58 +03:00
fbarbu15 cc8bae75c1
test logs template (#70) 2024-09-05 19:58:46 +08:00
fbarbu15 089b8eefce
metrics tests (#68) 2024-08-30 14:15:45 +03:00
fbarbu15 4855cd710c
chore: check logs at teardown (#67)
* check logs at teardown

* fix

* fix
2024-08-27 11:56:25 +03:00
fbarbu15 945364b0b2
e2e tests (#65) 2024-08-20 14:11:36 +03:00
fbarbu15 80210a079c
increase ci timeout (#66) 2024-08-20 10:34:43 +08:00
Roman Zajic a4c3a648cc
chore: RLNv2 tests update (#62)
* test: node startup time for valid_payloads_dynamic_at_slow_rate

* fix: remove timing debug info

* fix: reuse existing keystore file

* fix: remove skip marks for PR2612

* fix: remove skip marks for Issue 2837

* test: change valid_payloads_at_slow_rate to send 102 messages

* fix: remove existing keystore before new registration

* test: magical 20 messages

* fix: omit RLN params for static mode
- update test_valid_payloads_at_slow_rate
- update test_valid_payloads_at_spam_rate

* fix: condition check for rln-relay-dynamic

* fix: update static tests
- update test_valid_payloads_dynamic_at_slow_rate

* fix: add rln-relay-user-message-limit to registration

* fix: on-chain tests

* fix: valid_payloads_n1_with_rln_n2_without_rln_at_spam_rate

* fix: rename lrn method for lightpush setup
- delete test_valid_payloads_mixed_epoch_at_slow_rate

* fix: test_valid_payloads_lightpush_at_spam_rate

* fix: run registration only when necessary

* fix: reorder tests - lightpush first
- test workflow

* fix: use touch instead of unlink

* test: single test only test_valid_payloads_lightpush_at_spam_rate

* test: run 2 tests

* fix: remove reporting part from test workflow

* fix: all tests

* fix: use rmtree on keystore dir_path

* fix: use external rm

* fix: enable all RLN tests

* fix: further optimize number or registrations

* test: single on chain test

* test: two on chain tests

* test: swap order of tests

* test: reduce test logging and output docker log

* fix: rewrite keystore path related logic

* fix: use cache for keystore prefixes

* fix: index in setup_optional_rln_relay_nodes

* fix: delete test workflows
- revert env_vars
2024-08-09 16:13:17 +08:00
fbarbu15 68c4b57c08
lightpush changes (#64)
* lightpush changes

* lightpush changes
2024-08-05 16:51:48 +03:00
fbarbu15 4e96452119
use docker hub (#63) 2024-07-29 15:51:04 +03:00
fbarbu15 6194c493f7
Chore/store propagation (#61)
* add store propagation delay

* incerease store propagation delay
2024-07-23 09:16:37 +02:00
fbarbu15 ae43bd4448
add store retry method (#60) 2024-07-18 10:41:20 +02:00
fbarbu15 cfc6aa8f72
rate limit changes (#59) 2024-07-17 13:27:09 +03:00
dependabot[bot] a6e56885da
Bump setuptools from 69.0.3 to 70.0.0 (#58)
Bumps [setuptools](https://github.com/pypa/setuptools) from 69.0.3 to 70.0.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v69.0.3...v70.0.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fbarbu15 <florin@status.im>
2024-07-16 10:05:14 +03:00
fbarbu15 b56a98d8a6
fix lp fails (#57) 2024-07-16 09:43:07 +03:00
Roman Zajic 055541ad0d
fix: cluster_id 0 for peer store related tests (#56)
* fix: use cluster_id 0 for peer store related tests

* test: simulation for issue

* fix: use cluster_id not 0 and subscribe to static shard for go-waku

* fix: revert env values to original defaults
2024-07-15 15:47:42 +02:00
dependabot[bot] 03e577e558
Bump certifi from 2023.11.17 to 2024.7.4 (#53)
Bumps [certifi](https://github.com/certifi/python-certifi) from 2023.11.17 to 2024.7.4.
- [Commits](https://github.com/certifi/python-certifi/compare/2023.11.17...2024.07.04)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fbarbu15 <florin@status.im>
2024-07-12 18:01:01 +03:00
fbarbu15 a27c028104
chore: use another cluster id (#55)
* use another cluster id

* adjust tests
2024-07-11 23:00:18 +03:00
Roman Zajic d5cd78950a
fix: revert ADDITIONAL_NODES to its original default (#54) 2024-07-10 06:46:58 +02:00
Roman Zajic 6aa7716793
Test/peer exchange (#51)
* test: establish basic node setup for pe

* test: debug peer retrieval error with nwaku

* fix: disable discovery v5 on the requester node

* fix: assert node3 peer store to exact content

* test: get peers for filter node

* test: get peers after node1 was restarted

* fix: allow tests to run only when Node2 is Go-waku

* fix: revert NODE_1 to its original default
2024-07-09 14:07:48 +02:00
fbarbu15 07f4e1f438
add peer store capacity (#52) 2024-07-04 11:59:54 +03:00
fbarbu15 95f8a791fa
chore: fix connection error message (#50) 2024-07-03 11:14:00 +03:00
Roman Zajic 0ce2572810
chore: refactor setup relay node for sharding (#48)
* fix: refactor setup relay for sharding

* fix: refactor also all related to _resolve_sharding_flags
2024-07-02 09:33:53 +02:00
dependabot[bot] e8d5f78288
Bump urllib3 from 2.1.0 to 2.2.2 (#47)
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.1.0 to 2.2.2.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.1.0...2.2.2)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-01 13:33:10 +03:00