Skip to content

test: add live Firebird event test using fbird_event_wait with actual DB trigger #247

@satwareAG-ironMike

Description

@satwareAG-ironMike

Problem

event_poller_wrapper.phpt tests the PHP userland EventPoller strategy pattern but does NOT test actual Firebird event registration/firing. No test in the entire suite calls fbird_event_wait with an actual trigger-fired event.

Acceptance Criteria

  • New test file fbird_event_wait_001.phpt (requires Firebird connection)
  • Test creates a stored procedure and trigger that fires a named event
  • Test calls fbird_set_event_handler and fbird_event_wait
  • Verifies the event is received within timeout
  • Has proper --SKIPIF-- (Firebird 3.0+) and --CLEAN-- (drops SP, trigger, table)

Source

QA Audit 2026-04-09 - Finding T4 (Priority P3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions