Skip to content

Commit

Permalink
Disable integration test in code coverage build
Browse files Browse the repository at this point in the history
The test fails only in the codecov build, not in a local build or in the other integration test.

Needs further investigation.
  • Loading branch information
bnjbvr committed Dec 21, 2023
1 parent d6bcbf2 commit fb1ff70
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down Expand Up @@ -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;
}
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit fb1ff70

Please sign in to comment.