MCPcopy Create free account
hub / github.com/CodSpeedHQ/codspeed / test_memory_executor

Function test_memory_executor

src/executor/tests.rs:425–435  ·  view source on GitHub ↗
(#[case] cmd: &str)

Source from the content-addressed store, hash-verified

423 #[apply(test_cases)]
424 #[test_log::test(tokio::test)]
425 async fn test_memory_executor(#[case] cmd: &str) {
426 let (_permit, _lock, mut executor) = get_memory_executor().await;
427
428 // Unset GITHUB_ACTIONS to force LocalProvider which supports repository_override
429 temp_env::async_with_vars(&[("GITHUB_ACTIONS", None::<&str>)], async {
430 let config = memory_config(cmd);
431 let (execution_context, _temp_dir) = create_test_setup(config).await;
432 executor.run(&execution_context, &None).await.unwrap();
433 })
434 .await;
435 }
436
437 #[apply(env_test_cases)]
438 #[test_log::test(tokio::test)]

Callers

nothing calls this directly

Calls 4

get_memory_executorFunction · 0.85
memory_configFunction · 0.85
create_test_setupFunction · 0.85
runMethod · 0.45

Tested by

no test coverage detected