MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / create_workload_sandbox

Function create_workload_sandbox

e2e/rust/tests/gpu/workloads.rs:95–103  ·  view source on GitHub ↗
(args: &[&str])

Source from the content-addressed store, hash-verified

93}
94
95async fn create_workload_sandbox(args: &[&str]) -> Result<SandboxGuard, String> {
96 timeout(WORKLOAD_SANDBOX_CREATE_TIMEOUT, SandboxGuard::create(args))
97 .await
98 .map_err(|_| {
99 format!(
100 "GPU workload sandbox create timed out after {WORKLOAD_SANDBOX_CREATE_TIMEOUT:?}"
101 )
102 })?
103}
104
105async fn assert_expected_pass(workload: &WorkloadDefinition) {
106 let mut args = vec![

Callers 2

assert_expected_passFunction · 0.85
assert_expected_failFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected