TODOs and Disabled Tests in Functional Tests #66

Open
opened 2026-01-06 15:08:04 +00:00 by jabber.developer2 · 1 comment
Collaborator

Description

Several TODO items and disabled test are need clarification.

TODO Items

  1. Replace synchronization with proper mechanism
    File: tests/functionaltests/proftest.c:308

The current implementation uses a workaround for synchronization between test harness and profanity process.

  1. XEP-0308 Message Correction compliance
    File: tests/functionaltests/test_message.c:26

Need to verify that message corrections properly reference the original message ID per XEP-0308 specification.

  1. Proper wait mechanism for capabilities
    File: tests/functionaltests/test_ping.c:41

Current implementation may use timing-based waits instead of event-based synchronization. Stabber issue

Disabled Tests

  1. shows_history_message - MUC history test
    File: tests/functionaltests/functionaltests.c:129

Status: Temporarily disabled
Reason: Timing issues in CI environment

The test verifies that MUC (Multi-User Chat) history messages with element (XEP-0203) are displayed correctly. It was disabled due to flaky behavior under CI load.

Suggested fix: Add proper synchronization or increase timeout for history message processing.

## Description Several TODO items and disabled test are need clarification. ### TODO Items 1. Replace synchronization with proper mechanism File: tests/functionaltests/proftest.c:308 The current implementation uses a workaround for synchronization between test harness and profanity process. 2. XEP-0308 Message Correction compliance File: tests/functionaltests/test_message.c:26 Need to verify that message corrections properly reference the original message ID per XEP-0308 specification. 3. Proper wait mechanism for capabilities File: tests/functionaltests/test_ping.c:41 Current implementation may use timing-based waits instead of event-based synchronization. [Stabber issue](https://git.jabber.space/devs/stabber/issues/3) ### Disabled Tests 1. shows_history_message - MUC history test File: tests/functionaltests/functionaltests.c:129 Status: Temporarily disabled Reason: Timing issues in CI environment The test verifies that MUC (Multi-User Chat) history messages with <delay> element (XEP-0203) are displayed correctly. It was disabled due to flaky behavior under CI load. Suggested fix: Add proper synchronization or increase timeout for history message processing.
jabber.developer2 added this to the Plans (2025-2026) project 2026-01-06 15:08:30 +00:00
jabber.developer2 moved this to To Do in Plans (2025-2026) on 2026-01-06 15:08:56 +00:00
jabber.developer2 added the
Kind/Testing
label 2026-01-06 15:09:52 +00:00

We also have certain "inconsistencies" reported by codecov.

We also have certain "inconsistencies" reported by codecov.
jabber.developer added the
Priority
Medium
3
Reviewed
Confirmed
1
labels 2026-01-21 17:13:04 +00:00
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: devs/cproof#66
No description provided.