(args: &[&str])
| 93 | } |
| 94 | |
| 95 | async 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 | |
| 105 | async fn assert_expected_pass(workload: &WorkloadDefinition) { |
| 106 | let mut args = vec![ |
no outgoing calls
no test coverage detected