Skip to content
Merged
Show file tree
Hide file tree
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
10 changes: 5 additions & 5 deletions crates/next-api/src/nft_json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ mod tests {
}
}

#[tokio::test]
#[tokio::test(flavor = "multi_thread")]
async fn test_relativize_glob_normal_patterns() {
let tt = turbo_tasks::TurboTasks::new(TurboTasksBackend::new(
BackendOptions::default(),
Expand All @@ -425,7 +425,7 @@ mod tests {
.unwrap();
}

#[tokio::test]
#[tokio::test(flavor = "multi_thread")]
async fn test_relativize_glob_current_directory_prefix() {
let tt = turbo_tasks::TurboTasks::new(TurboTasksBackend::new(
BackendOptions::default(),
Expand Down Expand Up @@ -454,7 +454,7 @@ mod tests {
.unwrap();
}

#[tokio::test]
#[tokio::test(flavor = "multi_thread")]
async fn test_relativize_glob_parent_directory_navigation() {
let tt = turbo_tasks::TurboTasks::new(TurboTasksBackend::new(
BackendOptions::default(),
Expand Down Expand Up @@ -484,7 +484,7 @@ mod tests {
.unwrap();
}

#[tokio::test]
#[tokio::test(flavor = "multi_thread")]
async fn test_relativize_glob_mixed_prefixes() {
let tt = turbo_tasks::TurboTasks::new(TurboTasksBackend::new(
BackendOptions::default(),
Expand Down Expand Up @@ -514,7 +514,7 @@ mod tests {
.unwrap();
}

#[tokio::test]
#[tokio::test(flavor = "multi_thread")]
async fn test_relativize_glob_error_navigation_out_of_root() {
let tt = turbo_tasks::TurboTasks::new(TurboTasksBackend::new(
BackendOptions::default(),
Expand Down
4 changes: 2 additions & 2 deletions turbopack/crates/turbo-tasks-fs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2423,7 +2423,7 @@ mod tests {
);
}

#[tokio::test]
#[tokio::test(flavor = "multi_thread")]
async fn with_extension() {
crate::register();

Expand Down Expand Up @@ -2460,7 +2460,7 @@ mod tests {
.unwrap()
}

#[tokio::test]
#[tokio::test(flavor = "multi_thread")]
async fn file_stem() {
crate::register();

Expand Down
10 changes: 5 additions & 5 deletions turbopack/crates/turbo-tasks-fs/src/read_glob.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ pub mod tests {
DirectoryEntry, DiskFileSystem, FileContent, FileSystem, FileSystemPath, glob::Glob,
};

#[tokio::test]
#[tokio::test(flavor = "multi_thread")]
async fn read_glob_basic() {
crate::register();
let scratch = tempfile::tempdir().unwrap();
Expand Down Expand Up @@ -304,7 +304,7 @@ pub mod tests {
}

#[cfg(unix)]
#[tokio::test]
#[tokio::test(flavor = "multi_thread")]
async fn read_glob_symlinks() {
crate::register();
let scratch = tempfile::tempdir().unwrap();
Expand Down Expand Up @@ -407,7 +407,7 @@ pub mod tests {
}

#[cfg(unix)]
#[tokio::test]
#[tokio::test(flavor = "multi_thread")]
async fn track_glob_invalidations() {
use std::os::unix::fs::symlink;
crate::register();
Expand Down Expand Up @@ -494,7 +494,7 @@ pub mod tests {
}

#[cfg(unix)]
#[tokio::test]
#[tokio::test(flavor = "multi_thread")]
async fn track_glob_symlinks_loop() {
crate::register();
let scratch = tempfile::tempdir().unwrap();
Expand Down Expand Up @@ -552,7 +552,7 @@ pub mod tests {
}

#[cfg(unix)]
#[tokio::test]
#[tokio::test(flavor = "multi_thread")]
async fn read_glob_symlinks_loop() {
crate::register();
let scratch = tempfile::tempdir().unwrap();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ fn one_unnamed_field(input: OneUnnamedField) -> Vc<Completion> {
Completion::immutable()
}

#[tokio::test]
#[tokio::test(flavor = "multi_thread")]
async fn tests() {
run(&REGISTRATION, || async {
assert!(ReadRef::ptr_eq(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use turbo_tasks_testing::{Registration, register, run};

static REGISTRATION: Registration = register!();

#[tokio::test]
#[tokio::test(flavor = "multi_thread")]
async fn ignored_indexes() {
#[allow(dead_code)]
#[derive(ValueDebugFormat)]
Expand Down
6 changes: 3 additions & 3 deletions turbopack/crates/turbopack-core/src/module_graph/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1877,7 +1877,7 @@ pub mod tests {
resolve::ExportUsage,
};

#[tokio::test]
#[tokio::test(flavor = "multi_thread")]
async fn traverse_dfs_from_entries_diamond() {
run_graph_test(
vec![rcstr!("a.js")],
Expand Down Expand Up @@ -1939,7 +1939,7 @@ pub mod tests {
.await;
}

#[tokio::test]
#[tokio::test(flavor = "multi_thread")]
async fn traverse_dfs_from_entries_cycle() {
run_graph_test(
vec![rcstr!("a.js")],
Expand Down Expand Up @@ -1999,7 +1999,7 @@ pub mod tests {
.await;
}

#[tokio::test]
#[tokio::test(flavor = "multi_thread")]
async fn traverse_edges_from_entries_fixed_point_cycle() {
run_graph_test(
vec![rcstr!("a.js")],
Expand Down
2 changes: 1 addition & 1 deletion turbopack/crates/turbopack-dev-server/src/update/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ pub mod test {
ResolveSourceRequestResult::NotFound.cell()
}

#[tokio::test]
#[tokio::test(flavor = "multi_thread")]
async fn test_get_content_fn() {
crate::register();
let tt = TurboTasks::new(TurboTasksBackend::new(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ pub mod tests {

use super::*;

#[tokio::test]
#[tokio::test(flavor = "multi_thread")]
async fn test_rule_condition_leaves() {
crate::register();
let tt = turbo_tasks::TurboTasks::new(TurboTasksBackend::new(
Expand Down Expand Up @@ -374,7 +374,7 @@ pub mod tests {
anyhow::Ok(())
}

#[tokio::test]
#[tokio::test(flavor = "multi_thread")]
async fn test_rule_condition_tree() {
crate::register();
let tt = turbo_tasks::TurboTasks::new(TurboTasksBackend::new(
Expand Down
Loading