Skip to content

Commit

Permalink
update stubless rpc test with new linking naming
Browse files Browse the repository at this point in the history
  • Loading branch information
noise64 committed Jan 9, 2025
1 parent 8600459 commit a877790
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions golem-worker-executor-base/tests/ts_rpc1_stubless.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ async fn counter_resource_test_1(
.store_component_with_dynamic_linking(
CALLER_COMPONENT_NAME,
&[(
"rpc:counters-stub/stub-counters",
"rpc:counters-client/counters-client",
DynamicLinkedInstance::WasmRpc(DynamicLinkedWasmRpc {
target_interface_name: HashMap::from_iter(vec![
("api".to_string(), "rpc:counters/api".to_string()),
("counter".to_string(), "rpc:counters/api".to_string()),
("api".to_string(), "rpc:counters-exports/api".to_string()),
("counter".to_string(), "rpc:counters-exports/api".to_string()),
]),
}),
)],
Expand Down Expand Up @@ -99,11 +99,11 @@ async fn counter_resource_test_1_with_restart(
.store_component_with_dynamic_linking(
CALLER_COMPONENT_NAME,
&[(
"rpc:counters-stub/stub-counters",
"rpc:counters-client/counters-client",
DynamicLinkedInstance::WasmRpc(DynamicLinkedWasmRpc {
target_interface_name: HashMap::from_iter(vec![
("api".to_string(), "rpc:counters/api".to_string()),
("counter".to_string(), "rpc:counters/api".to_string()),
("api".to_string(), "rpc:counters-exports/api".to_string()),
("counter".to_string(), "rpc:counters-exports/api".to_string()),
]),
}),
)],
Expand Down Expand Up @@ -159,11 +159,11 @@ async fn context_inheritance(
.store_component_with_dynamic_linking(
CALLER_COMPONENT_NAME,
&[(
"rpc:counters-stub/stub-counters",
"rpc:counters-client/counters-client",
DynamicLinkedInstance::WasmRpc(DynamicLinkedWasmRpc {
target_interface_name: HashMap::from_iter(vec![
("api".to_string(), "rpc:counters/api".to_string()),
("counter".to_string(), "rpc:counters/api".to_string()),
("api".to_string(), "rpc:counters-exports/api".to_string()),
("counter".to_string(), "rpc:counters-exports/api".to_string()),
]),
}),
)],
Expand Down

0 comments on commit a877790

Please sign in to comment.