2023-08-09 17:11:50 +00:00
|
|
|
## Waku v2
|
|
|
|
|
|
|
|
# Waku core test suite
|
|
|
|
import
|
|
|
|
./waku_core/test_namespaced_topics,
|
|
|
|
./waku_core/test_time,
|
|
|
|
./waku_core/test_message_digest,
|
2023-09-11 08:30:12 +00:00
|
|
|
./waku_core/test_peers,
|
|
|
|
./waku_core/test_published_address
|
2023-08-09 17:11:50 +00:00
|
|
|
|
|
|
|
# Waku archive test suite
|
|
|
|
import
|
|
|
|
./waku_archive/test_driver_queue_index,
|
|
|
|
./waku_archive/test_driver_queue_pagination,
|
|
|
|
./waku_archive/test_driver_queue_query,
|
|
|
|
./waku_archive/test_driver_queue,
|
|
|
|
./waku_archive/test_driver_sqlite_query,
|
|
|
|
./waku_archive/test_driver_sqlite,
|
|
|
|
./waku_archive/test_retention_policy,
|
2024-06-05 15:45:38 +00:00
|
|
|
./waku_archive/test_waku_archive,
|
2024-07-12 16:19:12 +00:00
|
|
|
./waku_archive/test_partition_manager,
|
|
|
|
./waku_archive_legacy/test_driver_queue_index,
|
|
|
|
./waku_archive_legacy/test_driver_queue_pagination,
|
|
|
|
./waku_archive_legacy/test_driver_queue_query,
|
|
|
|
./waku_archive_legacy/test_driver_queue,
|
|
|
|
./waku_archive_legacy/test_driver_sqlite_query,
|
|
|
|
./waku_archive_legacy/test_driver_sqlite,
|
|
|
|
./waku_archive_legacy/test_waku_archive
|
2023-08-09 17:11:50 +00:00
|
|
|
|
|
|
|
const os* {.strdefine.} = ""
|
2023-09-13 10:45:55 +00:00
|
|
|
when os == "Linux" and
|
2024-03-15 23:08:47 +00:00
|
|
|
# GitHub only supports container actions on Linux
|
|
|
|
# and we need to start a postgress database in a docker container
|
|
|
|
defined(postgres):
|
2024-05-28 11:54:22 +00:00
|
|
|
import
|
|
|
|
./waku_archive/test_driver_postgres_query,
|
|
|
|
./waku_archive/test_driver_postgres,
|
2024-07-12 16:19:12 +00:00
|
|
|
#./waku_archive_legacy/test_driver_postgres_query,
|
|
|
|
#./waku_archive_legacy/test_driver_postgres,
|
2024-05-28 11:54:22 +00:00
|
|
|
./factory/test_node_factory,
|
|
|
|
./wakunode_rest/test_rest_store
|
2023-08-09 17:11:50 +00:00
|
|
|
|
|
|
|
# Waku store test suite
|
|
|
|
import
|
2024-02-06 16:37:42 +00:00
|
|
|
./waku_store/test_client,
|
2023-08-09 17:11:50 +00:00
|
|
|
./waku_store/test_rpc_codec,
|
|
|
|
./waku_store/test_waku_store,
|
|
|
|
./waku_store/test_wakunode_store
|
|
|
|
|
2024-04-25 13:09:52 +00:00
|
|
|
# Waku legacy store test suite
|
|
|
|
import
|
|
|
|
./waku_store_legacy/test_client,
|
|
|
|
./waku_store_legacy/test_rpc_codec,
|
|
|
|
./waku_store_legacy/test_waku_store,
|
|
|
|
./waku_store_legacy/test_wakunode_store
|
|
|
|
|
2023-08-09 17:11:50 +00:00
|
|
|
when defined(waku_exp_store_resume):
|
|
|
|
# TODO: Review store resume test cases (#1282)
|
2024-04-25 13:09:52 +00:00
|
|
|
import ./waku_store_legacy/test_resume
|
2023-08-09 17:11:50 +00:00
|
|
|
|
2024-03-14 16:48:09 +00:00
|
|
|
import
|
|
|
|
./node/test_all,
|
|
|
|
./waku_filter_v2/test_all,
|
|
|
|
./waku_peer_exchange/test_all,
|
|
|
|
./waku_lightpush/test_all,
|
2024-03-26 17:25:42 +00:00
|
|
|
./waku_relay/test_all,
|
|
|
|
./incentivization/test_all
|
2023-08-09 17:11:50 +00:00
|
|
|
|
|
|
|
import
|
|
|
|
# Waku v2 tests
|
|
|
|
./test_wakunode,
|
|
|
|
./test_wakunode_lightpush,
|
|
|
|
./test_peer_store_extended,
|
|
|
|
./test_message_cache,
|
|
|
|
./test_peer_manager,
|
|
|
|
./test_peer_storage,
|
|
|
|
./test_waku_keepalive,
|
|
|
|
./test_waku_enr,
|
|
|
|
./test_waku_dnsdisc,
|
2024-03-14 16:48:09 +00:00
|
|
|
./test_relay_peer_exchange,
|
2023-08-09 17:11:50 +00:00
|
|
|
./test_waku_noise,
|
|
|
|
./test_waku_noise_sessions,
|
2023-09-29 13:30:07 +00:00
|
|
|
./test_waku_netconfig,
|
2023-08-09 17:11:50 +00:00
|
|
|
./test_waku_switch,
|
|
|
|
./test_waku_rendezvous
|
|
|
|
|
|
|
|
# Waku Keystore test suite
|
2024-02-06 16:37:42 +00:00
|
|
|
import ./test_waku_keystore_keyfile, ./test_waku_keystore
|
2023-08-09 17:11:50 +00:00
|
|
|
|
|
|
|
## Wakunode Rest API test suite
|
|
|
|
import
|
|
|
|
./wakunode_rest/test_rest_debug,
|
|
|
|
./wakunode_rest/test_rest_debug_serdes,
|
|
|
|
./wakunode_rest/test_rest_relay,
|
|
|
|
./wakunode_rest/test_rest_relay_serdes,
|
|
|
|
./wakunode_rest/test_rest_serdes,
|
2023-09-14 19:28:57 +00:00
|
|
|
./wakunode_rest/test_rest_filter,
|
2023-10-05 12:00:09 +00:00
|
|
|
./wakunode_rest/test_rest_lightpush,
|
2024-02-29 08:48:14 +00:00
|
|
|
./wakunode_rest/test_rest_admin,
|
2024-04-23 16:53:18 +00:00
|
|
|
./wakunode_rest/test_rest_cors,
|
|
|
|
./wakunode_rest/test_rest_health
|
2023-08-09 17:11:50 +00:00
|
|
|
|
2024-03-12 10:50:30 +00:00
|
|
|
import ./waku_rln_relay/test_all
|
2024-03-12 15:12:44 +00:00
|
|
|
|
|
|
|
# Node Factory
|