Skip to content

Commit

Permalink
chore(boundary): system-test for rate-limit canister (#3238)
Browse files Browse the repository at this point in the history
A `system-test` for testing full `rate-limit` canister integration with
API boundary nodes

---------

Co-authored-by: IDX GitLab Automation <[email protected]>
Co-authored-by: r-birkner <[email protected]>
  • Loading branch information
3 people authored Dec 20, 2024
1 parent 9d02e69 commit 984e8c4
Show file tree
Hide file tree
Showing 3 changed files with 215 additions and 309 deletions.
1 change: 1 addition & 0 deletions ic-os/components/ic/share/ic-boundary.env
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ HTTP_CLIENT_TIMEOUT_CONNECT="3s"
REGISTRY_DISABLE_REPLICATOR="true"
REGISTRY_LOCAL_STORE_PATH="/var/lib/ic/data/ic_registry_local_store"
OBS_LOG_ANONYMIZATION_CANISTER_ID="uz2z3-qyaaa-aaaaq-qaacq-cai"
RATE_LIMIT_GENERIC_CANISTER_ID="u637p-5aaaa-aaaaq-qaaca-cai"
OBS_LOG_JOURNALD="true"
OBS_METRICS_ADDR="[::]:9324"
RATE_LIMIT_PER_SECOND_PER_SUBNET="1000"
Expand Down
5 changes: 5 additions & 0 deletions rs/tests/boundary_nodes/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,12 @@ system_test_nns(
deps = [
# Keep sorted.
"//rs/boundary_node/rate_limits/api:rate_limits_api",
"//rs/nns/constants",
"//rs/nns/test_utils",
"//rs/registry/subnet_type",
"//rs/tests/boundary_nodes/utils",
"//rs/tests/driver:ic-system-test-driver",
"//rs/types/base_types",
"//rs/types/types",
"@crate_index//:anyhow",
"@crate_index//:candid",
Expand All @@ -149,6 +153,7 @@ system_test_nns(
"@crate_index//:regex",
"@crate_index//:slog",
"@crate_index//:tokio",
"@crate_index//:wat",
],
)

Expand Down
Loading

0 comments on commit 984e8c4

Please sign in to comment.