mirror of https://github.com/waku-org/nwaku.git
refactor(tests): group waku store test suite files
This commit is contained in:
parent
93a07babf2
commit
a590575a6a
|
@ -1,11 +1,11 @@
|
||||||
|
## Waku common test suite
|
||||||
import
|
import
|
||||||
# Waku common test suite
|
|
||||||
./v2/test_envvar_serialization,
|
./v2/test_envvar_serialization,
|
||||||
./v2/test_confutils_envvar,
|
./v2/test_confutils_envvar,
|
||||||
./v2/test_sqlite_migrations
|
./v2/test_sqlite_migrations
|
||||||
|
|
||||||
|
## Waku archive test suite
|
||||||
import
|
import
|
||||||
# Waku archive test suite
|
|
||||||
./v2/waku_archive/test_driver_queue_index,
|
./v2/waku_archive/test_driver_queue_index,
|
||||||
./v2/waku_archive/test_driver_queue_pagination,
|
./v2/waku_archive/test_driver_queue_pagination,
|
||||||
./v2/waku_archive/test_driver_queue_query,
|
./v2/waku_archive/test_driver_queue_query,
|
||||||
|
@ -15,14 +15,21 @@ import
|
||||||
./v2/waku_archive/test_retention_policy,
|
./v2/waku_archive/test_retention_policy,
|
||||||
./v2/waku_archive/test_waku_archive
|
./v2/waku_archive/test_waku_archive
|
||||||
|
|
||||||
|
## Waku store test suite
|
||||||
|
import
|
||||||
|
./v2/waku_store/test_rpc_codec,
|
||||||
|
./v2/waku_store/test_waku_store,
|
||||||
|
./v2/waku_store/test_wakunode_store
|
||||||
|
|
||||||
|
when defined(waku_exp_store_resume):
|
||||||
|
# TODO: Review store resume test cases (#1282)
|
||||||
|
import ./v2/waku_store/test_resume
|
||||||
|
|
||||||
|
|
||||||
import
|
import
|
||||||
# Waku v2 tests
|
# Waku v2 tests
|
||||||
./v2/test_wakunode,
|
./v2/test_wakunode,
|
||||||
./v2/test_wakunode_relay,
|
./v2/test_wakunode_relay,
|
||||||
# Waku Store
|
|
||||||
./v2/test_waku_store_rpc_codec,
|
|
||||||
./v2/test_waku_store,
|
|
||||||
./v2/test_wakunode_store,
|
|
||||||
# Waku LightPush
|
# Waku LightPush
|
||||||
./v2/test_waku_lightpush,
|
./v2/test_waku_lightpush,
|
||||||
./v2/test_wakunode_lightpush,
|
./v2/test_wakunode_lightpush,
|
||||||
|
@ -66,9 +73,6 @@ when defined(rln):
|
||||||
./v2/test_wakunode_rln_relay,
|
./v2/test_wakunode_rln_relay,
|
||||||
./v2/test_waku_rln_relay_onchain
|
./v2/test_waku_rln_relay_onchain
|
||||||
|
|
||||||
when defined(waku_exp_store_resume):
|
|
||||||
# TODO: Review store resume test cases (#1282)
|
|
||||||
import ./v2/test_waku_store_resume
|
|
||||||
|
|
||||||
|
|
||||||
# TODO: Only enable this once swap module is integrated more nicely as a dependency, i.e. as submodule with CI etc
|
# TODO: Only enable this once swap module is integrated more nicely as a dependency, i.e. as submodule with CI etc
|
||||||
|
|
|
@ -5,10 +5,11 @@ import
|
||||||
testutils/unittests,
|
testutils/unittests,
|
||||||
chronos
|
chronos
|
||||||
import
|
import
|
||||||
../../waku/v2/protocol/waku_store/rpc,
|
../../../waku/common/protobuf,
|
||||||
../../waku/v2/protocol/waku_store/rpc_codec,
|
../../../waku/v2/protocol/waku_store/rpc,
|
||||||
../../waku/v2/utils/time,
|
../../../waku/v2/protocol/waku_store/rpc_codec,
|
||||||
./testlib/common
|
../../../waku/v2/utils/time,
|
||||||
|
../testlib/common
|
||||||
|
|
||||||
|
|
||||||
procSuite "Waku Store - RPC codec":
|
procSuite "Waku Store - RPC codec":
|
|
@ -7,12 +7,12 @@ import
|
||||||
chronicles,
|
chronicles,
|
||||||
libp2p/crypto/crypto
|
libp2p/crypto/crypto
|
||||||
import
|
import
|
||||||
../../waku/v2/node/peer_manager/peer_manager,
|
../../../waku/v2/node/peer_manager/peer_manager,
|
||||||
../../waku/v2/protocol/waku_message,
|
../../../waku/v2/protocol/waku_message,
|
||||||
../../waku/v2/protocol/waku_store,
|
../../../waku/v2/protocol/waku_store,
|
||||||
../../waku/v2/protocol/waku_store/client,
|
../../../waku/v2/protocol/waku_store/client,
|
||||||
./testlib/common,
|
../testlib/common,
|
||||||
./testlib/switch
|
../testlib/switch
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -13,17 +13,17 @@ import
|
||||||
libp2p/protocols/pubsub/pubsub,
|
libp2p/protocols/pubsub/pubsub,
|
||||||
libp2p/protocols/pubsub/gossipsub
|
libp2p/protocols/pubsub/gossipsub
|
||||||
import
|
import
|
||||||
../../waku/common/sqlite,
|
../../../waku/common/sqlite,
|
||||||
../../waku/v2/node/peer_manager/peer_manager,
|
../../../waku/v2/node/peer_manager/peer_manager,
|
||||||
../../waku/v2/protocol/waku_message,
|
../../../waku/v2/protocol/waku_message,
|
||||||
../../waku/v2/protocol/waku_archive,
|
../../../waku/v2/protocol/waku_archive,
|
||||||
../../waku/v2/protocol/waku_archive/driver/sqlite_driver,
|
../../../waku/v2/protocol/waku_archive/driver/sqlite_driver,
|
||||||
../../waku/v2/protocol/waku_store,
|
../../../waku/v2/protocol/waku_store,
|
||||||
../../waku/v2/protocol/waku_filter,
|
../../../waku/v2/protocol/waku_filter,
|
||||||
../../waku/v2/utils/peers,
|
../../../waku/v2/utils/peers,
|
||||||
../../waku/v2/utils/time,
|
../../../waku/v2/utils/time,
|
||||||
../../waku/v2/node/waku_node,
|
../../../waku/v2/node/waku_node,
|
||||||
./testlib/common
|
../testlib/common
|
||||||
|
|
||||||
from std/times import getTime, toUnixFloat
|
from std/times import getTime, toUnixFloat
|
||||||
|
|
Loading…
Reference in New Issue