Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions pkgs/id/src/world_net.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2707,8 +2707,11 @@ mod tests {
.execution_profile(None, Some(&capability))
.await
.unwrap();
// execution_profile now returns just the requested profile, not the whole frame
assert!(res.get("wasm_fuel").is_some() || res.get("total_memory_bytes").is_some());
// execution_profile now returns just the requested profile, not the
// whole frame. A fresh world has requested nothing: every bound is
// None (inherit the server ceiling) and serializes away, so the
// default requested profile is the empty object (#6687).
assert_eq!(res, serde_json::json!({}));
guest.close();

// 3. Admin can update profile
Expand Down
Loading