Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(datastore): remove particles #1965

Merged
merged 6 commits into from
Dec 18, 2023

add tests

430a7c3
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

fix(datastore): remove particles #1965

add tests
430a7c3
Select commit
Loading
Failed to load commit list.
GitHub Actions / nox report succeeded Dec 18, 2023 in 1s

nox report ✅

Tests passed successfully

✅ target/nextest/ci/junit.xml

232 tests were completed in 156s with 232 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
aquamarine 9✅ NaNms
fluence-libp2p 2✅ NaNms
health 4✅ NaNms
kademlia 3✅ NaNms
nox 10✅ NaNms
nox-tests::boolean_test 1✅ NaNms
nox-tests::builtin 59✅ NaNms
nox-tests::client_api 1✅ NaNms
nox-tests::echo_particle 1✅ NaNms
nox-tests::kademlia 2✅ NaNms
nox-tests::local_vm 1✅ NaNms
nox-tests::modules 2✅ NaNms
nox-tests::services 3✅ NaNms
nox-tests::spells 39✅ NaNms
nox-tests::tests 14✅ NaNms
nox-tests::tetraplets 1✅ NaNms
nox-tests::topology 3✅ NaNms
nox-tests::vault 4✅ NaNms
particle-args 1✅ NaNms
particle-builtins 2✅ NaNms
particle-modules 3✅ NaNms
particle-protocol 5✅ NaNms
particle-services 11✅ NaNms
server-config 24✅ NaNms
service-modules 5✅ NaNms
spell-event-bus 16✅ NaNms
spell-service-api 5✅ NaNms
waiting-queues 1✅ NaNms

✅ aquamarine

✅ health::tests::test_vm_pool_health_empty
✅ health::tests::test_vm_pool_health_partial
✅ health::tests::test_vm_pool_health_full
✅ particle_data_store::tests::test_detect_anomaly
✅ particle_data_store::tests::test_initialize
✅ particle_data_store::tests::test_cleanup_data
✅ particle_data_store::tests::test_store_and_read_data
✅ plumber::tests::ignore_expired
✅ health::tests::test_vm_pool_health_concurrent_access

✅ fluence-libp2p

✅ serde::tests::multihash
✅ serde::tests::peerid

✅ health

✅ tests::test_health_check_registry_empty
✅ tests::test_health_check_registry_single_check_fail
✅ tests::test_health_check_registry_multiple_checks
✅ tests::test_health_check_registry_single_check_pass

✅ kademlia

✅ behaviour::tests::dont_repeat_discovery
✅ behaviour::tests::discovery_heavy
✅ behaviour::tests::ban

✅ nox

✅ health::tests::test_bootstrap_nodes_health_all_connected
✅ health::tests::test_bootstrap_nodes_health_concurrent_access
✅ health::tests::test_bootstrap_nodes_health_partial_connected
✅ http::tests::test_health_route_success_checks
✅ http::tests::test_health_route_empty_registry
✅ http::tests::test_health_route_fail_checks
✅ http::tests::test_health_route_warn_checks
✅ http::tests::test_peer_id_route
✅ http::tests::test_version_route
✅ node::tests::run_node

✅ nox-tests::boolean_test

✅ pass_boolean

✅ nox-tests::builtin

✅ array_dedup
✅ array_slice_wrong_third_arg
✅ array_length
✅ array_diff
✅ array_slice_wrong_second_arg
✅ array
✅ array_intersect
✅ array_sdiff
✅ array_slice_out_of_bounds
✅ add_alias_list
✅ array_slice_wrong_args_count
✅ array_slice
✅ array_sum
✅ aliases_restart
✅ identify
✅ concat
✅ base58_bytes_builtins
✅ base58_string_builtins
✅ cmp_gt
✅ cmp_le
✅ empty_array_slice
✅ index_by_math
✅ cmp_cmp
✅ json_builtins
✅ debug_stringify
✅ kad_merge
✅ math_add
✅ math_pow
✅ math_sub
✅ identity
✅ math_div
✅ math_log
✅ math_rem
✅ math_mul
✅ noop
✅ neighborhood
✅ math_fmul
✅ remove_service
✅ not_array_slice
✅ remove_service_by_alias
✅ resolve_alias
✅ non_owner_remove_service
✅ resolve_alias_opt
✅ resolve_alias_not_exists
✅ resolve_alias_opt_not_exists
✅ service_mem
✅ resolve_alias_removed
✅ sha256
✅ service_stats_uninitialized
✅ service_stats
✅ subnet_resolve
✅ timeout_race
✅ remove_service_restart
✅ timeout_wait
✅ timestamp_ms
✅ timestamp_sec
✅ sig_verify_invalid_signature
✅ xor_type_error
✅ sign_invalid_tetraplets

✅ nox-tests::client_api

✅ call_custom_service

✅ nox-tests::echo_particle

✅ echo_particle

✅ nox-tests::kademlia

✅ neighborhood_heavy
✅ neighborhood_with_addresses_heavy

✅ nox-tests::local_vm

✅ make

✅ nox-tests::modules

✅ test_add_module_mounted_binaries
✅ test_add_module_mounted_binaries_forbidden

✅ nox-tests::services

✅ create_service_from_config
✅ test_system_service_override
✅ handle_same_dir_in_preopens_and_mapped_dirs

✅ nox-tests::spells

✅ get_worker_peer_id_opt
✅ create_remove_worker
✅ resolve_alias_wrong_worker
✅ set_alias_by_worker_creator
✅ resolve_global_alias
✅ spell_call_by_alias
✅ spell_call_by_default_alias
✅ spell_args_test
✅ spell_connection_pool_trigger_test
✅ spell_create_worker_twice
✅ spell_create_worker_same_deal_id_different_peer
✅ spell_install_alias
✅ spell_install_fail_end_sec_past
✅ spell_install_fail_end_sec_before_start
✅ spell_install_fail_large_period
✅ spell_install_ok_empty_config
✅ spell_error_handling_test
✅ spell_install_root_scope
✅ spell_peer_id_test
✅ spell_relay_id_test
✅ spell_remove_service_as_spell
✅ spell_remove_spell_as_service
✅ spell_remove_by_alias
✅ spell_remove
✅ spell_return_test
✅ spell_run_oneshot
✅ spell_simple_test
✅ spell_set_u32
✅ spell_timer_trigger_mailbox_test
✅ spell_update_config
✅ spell_store_trigger_config
✅ spell_update_config_stopped_spell
✅ spell_trigger_connection_pool
✅ spell_update_trigger_by_alias
✅ test_activate_deactivate
✅ test_worker_list
✅ test_spell_list
✅ worker_sig_test
✅ test_decider_api_endpoint_rewrite

✅ nox-tests::tests

✅ network::loop_topology::fold_fold_fold_par_null
✅ network::loop_topology::fold_fold_fold_par_null_join
✅ network::loop_topology::fold_fold_fold_seq_two_par_null_folds
✅ network::loop_topology::fold_fold_seq_join
✅ network::loop_topology::join_empty_stream
✅ network::loop_topology::fold_seq_join
✅ network::loop_topology::fold_par_same_node_stream_heavy
✅ network::loop_topology::fold_fold_pairs_seq_join_heavy
✅ network::network_explore::get_interfaces
✅ network::loop_topology::fold_via_heavy
✅ network::network_explore::list_blueprints
✅ network::network_explore::get_modules
✅ network::network_explore::explore_services_heavy
✅ network::network_explore::explore_services_fixed_heavy

✅ nox-tests::tetraplets

✅ test_tetraplets

✅ nox-tests::topology

✅ identity_heavy
✅ init_peer_id_heavy
✅ join_heavy

✅ nox-tests::vault

✅ deploy_from_vault
✅ put_cat_vault
✅ share_file
✅ load_blueprint_from_vault

✅ particle-args

✅ args::tests::test_next_opt

✅ particle-builtins

✅ builtins::prop_tests::module_config
✅ json::tests::json_parse_string

✅ particle-modules

✅ modules::tests::test_add_blueprint
✅ modules::tests::test_add_module_get_interface
✅ modules::tests::test_add_module_max_heap_size_overflow

✅ particle-protocol

✅ libp2p_protocol::codec::fluence::tests::deserialization_test
✅ libp2p_protocol::codec::fluence::tests::isomorphic_codec_test
✅ libp2p_protocol::upgrade::tests::deserialize
✅ libp2p_protocol::upgrade::tests::oneshot_channel_test
✅ particle::tests::test_signature

✅ particle-services

✅ app_services::tests::test_add_alias
✅ app_services::tests::test_add_alias_forbidden
✅ app_services::tests::test_add_alias_no_service
✅ app_services::tests::test_add_alias_repeated
✅ app_services::tests::test_add_alias_twice
✅ app_services::tests::test_get_interface_cache
✅ app_services::tests::test_persisted_service
✅ health::tests::persisted_service_health_concurrent_access
✅ health::tests::test_persisted_service_health_not_started
✅ health::tests::test_persisted_service_health_started_with_errors
✅ health::tests::test_persisted_service_health_started_without_errors

✅ server-config

✅ resolved_config::tests::load_allowed_binaries_with_env
✅ resolved_config::tests::load_allowed_binaries_with_file
✅ resolved_config::tests::load_base58_keypair
✅ resolved_config::tests::load_base58_secret_key
✅ resolved_config::tests::load_base64_keypair
✅ resolved_config::tests::load_base64_secret_key
✅ resolved_config::tests::load_config_simple
✅ resolved_config::tests::load_empty_config
✅ resolved_config::tests::load_empty_keypair
✅ resolved_config::tests::load_env_upgrade_timeout
✅ resolved_config::tests::load_file_upgrade_timeout
✅ resolved_config::tests::load_http_port_with_args
✅ resolved_config::tests::load_http_port_with_env
✅ resolved_config::tests::load_log_format_with_args
✅ resolved_config::tests::load_log_format_with_env
✅ resolved_config::tests::load_log_format_with_file
✅ resolved_config::tests::load_multiple_configs
✅ resolved_config::tests::load_path_keypair_generate
✅ resolved_config::tests::load_tracing_disabled_with_args
✅ resolved_config::tests::load_tracing_disabled_with_env
✅ resolved_config::tests::load_tracing_disabled_with_file
✅ resolved_config::tests::load_tracing_otlp_with_args
✅ resolved_config::tests::load_tracing_otlp_with_env
✅ resolved_config::tests::load_tracing_otlp_with_file

✅ service-modules

✅ modules::blueprint::test_blueprint_hash
✅ modules::file_names::tests::is_bp
✅ modules::file_names::tests::is_srvc
✅ modules::file_names::tests::is_wasm
✅ modules::file_names::tests::module_fname

✅ spell-event-bus

✅ bus::tests::test_double_subscribe_before_run
✅ bus::tests::test_resubscribing_same_spell
✅ bus::tests::test_subscribe_connect
✅ bus::tests::test_subscribe_many
✅ bus::tests::test_subscribe_many_spells_with_diff_event_types
✅ bus::tests::test_subscribe_one
✅ bus::tests::test_subscribe_oneshot
✅ bus::tests::test_unsubscribe
✅ config::trigger_config_tests::test_both_types_ended
✅ config::trigger_config_tests::test_both_types_ok
✅ config::trigger_config_tests::test_peer_events
✅ config::trigger_config_tests::test_reschedule_fail_ended
✅ config::trigger_config_tests::test_reschedule_fail_oneshot_executed
✅ config::trigger_config_tests::test_reschedule_ok_oneshot_start_future
✅ config::trigger_config_tests::test_reschedule_ok_periodic
✅ config::trigger_config_tests::test_reschedule_ok_periodic_end_future

✅ spell-service-api

✅ tests::test_counter
✅ tests::test_kv
✅ tests::test_script
✅ tests::test_trigger_config
✅ tests::test_trigger_event

✅ waiting-queues

✅ tests::remove_with