From fb1ff705388e11234bc11726f30ca9996718a51c Mon Sep 17 00:00:00 2001 From: Benjamin Bouvier Date: Thu, 21 Dec 2023 09:58:59 +0100 Subject: [PATCH] Disable integration test in code coverage build The test fails only in the codecov build, not in a local build or in the other integration test. Needs further investigation. --- .../src/tests/sliding_sync/room.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/testing/matrix-sdk-integration-testing/src/tests/sliding_sync/room.rs b/testing/matrix-sdk-integration-testing/src/tests/sliding_sync/room.rs index fab7c291899..846077090e6 100644 --- a/testing/matrix-sdk-integration-testing/src/tests/sliding_sync/room.rs +++ b/testing/matrix-sdk-integration-testing/src/tests/sliding_sync/room.rs @@ -212,6 +212,7 @@ async fn test_room_avatar_group_conversation() -> Result<()> { Ok(()) } +#[ignore = "times out or fails assertions in code coverage builds (#2963)"] #[tokio::test] async fn test_room_notification_count() -> Result<()> { let bob = @@ -360,7 +361,6 @@ async fn test_room_notification_count() -> Result<()> { // The highlight also counts as a notification. assert_eq!(alice_room.num_unread_messages(), 2); assert_eq!(alice_room.num_unread_notifications(), 2); - // One new highlight. assert_eq!(alice_room.num_unread_mentions(), 1); break; } @@ -434,7 +434,6 @@ async fn test_room_notification_count() -> Result<()> { // exists. assert_eq!(alice_room.num_unread_messages(), 1); assert_eq!(alice_room.num_unread_notifications(), 0); - // One new highlight. assert_eq!(alice_room.num_unread_mentions(), 0); assert_pending!(info_updates);