(
#[case] cmd: &str,
#[values(false, true)] enable_profiler: bool,
)
| 244 | #[rstest::rstest] |
| 245 | #[test_log::test(tokio::test)] |
| 246 | async fn test_walltime_executor( |
| 247 | #[case] cmd: &str, |
| 248 | #[values(false, true)] enable_profiler: bool, |
| 249 | ) { |
| 250 | let (_permit, mut executor) = get_walltime_executor().await; |
| 251 | |
| 252 | let config = walltime_config(cmd, enable_profiler); |
| 253 | // Unset GITHUB_ACTIONS to force LocalProvider which supports repository_override |
| 254 | temp_env::async_with_vars(&[("GITHUB_ACTIONS", None::<&str>)], async { |
| 255 | let (execution_context, _temp_dir) = create_test_setup(config).await; |
| 256 | executor.run(&execution_context, &None).await.unwrap(); |
| 257 | }) |
| 258 | .await; |
| 259 | } |
| 260 | |
| 261 | #[apply(env_test_cases)] |
| 262 | #[rstest::rstest] |
nothing calls this directly
no test coverage detected