Skip to content

Commit 01214c4

Browse files
committed
chore: use LocalResources default implementation in test
Signed-off-by: Aditya <aditya.salunkh919@gmail.com>
1 parent 7909919 commit 01214c4

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

crates/wash-runtime/tests/integration_http_streaming_gemini.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,8 @@ async fn wasi_http_gemini_proxy() -> Result<()> {
5757
components: vec![Component {
5858
bytes: bytes::Bytes::from_static(HTTP_STREAMING_GEMINI_WASM),
5959
local_resources: LocalResources {
60-
memory_limit_mb: 512,
61-
cpu_limit: 2,
62-
config: HashMap::new(),
63-
environment: HashMap::new(),
64-
volume_mounts: vec![],
6560
allowed_hosts: vec!["generativelanguage.googleapis.com".to_string()],
61+
..Default::default()
6662
},
6763
pool_size: 1,
6864
max_invocations: 100,

0 commit comments

Comments
 (0)