Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Disable flaky test_sidebar_invariants property test (#53410)
Richard Feldman252e850779d2
diff --git a/crates/gpui_macros/src/property_test.rs b/crates/gpui_macros/src/property_test.rsindex 6bf60eca1b6..65355b4dca3 100644--- a/crates/gpui_macros/src/property_test.rs+++ b/crates/gpui_macros/src/property_test.rs@@ -14,6 +14,7 @@ pub fn test(args: TokenStream, item: TokenStream) -> TokenStream {let test_name = func.sig.ident.clone();let inner_fn_name = format_ident!("__{test_name}");+ let outer_fn_attributes = &func.attrs;let parsed_args = parse_args(func.sig.inputs, &test_name);@@ -54,6 +55,7 @@ pub fn test(args: TokenStream, item: TokenStream) -> TokenStream {#arg_errors#[::gpui::proptest::property_test(proptest_path = "::gpui::proptest", #args)]+ #(#outer_fn_attributes)*fn #test_name(#proptest_args) {#inner_fndiff --git a/crates/sidebar/src/sidebar_tests.rs b/crates/sidebar/src/sidebar_tests.rsindex 860713e61de..72517d732a2 100644--- a/crates/sidebar/src/sidebar_tests.rs+++ b/crates/sidebar/src/sidebar_tests.rs@@ -6101,6 +6101,7 @@ mod property_test {cases: 50,..Default::default()})]+ #[ignore = "temporarily disabled to unblock PRs from landing"]async fn test_sidebar_invariants(#[strategy = gpui::proptest::collection::vec(0u32..DISTRIBUTION_SLOTS * 10, 1..5)]raw_operations: Vec<u32>,