assert   
    DIFF IN FIREBIRD.LOG: + VALIDATION FINISHED: 0 ERRORS
    Check-1: how many DML attachments really could do their job ?
    Result: OK, launched = actual
    Check-2: how many sessions got SQLSTATE = HY000 on shutdown ?
  - Result: OK, launched = actual
  + Result: BAD, launched<>actual

LOG DETAILS:

2026-07-30 17:26:43.614
2026-07-30 17:26:43.623 act = <firebird.qa.plugin.Action object at [hex]>
2026-07-30 17:26:43.633 capsys = <_pytest.capture.CaptureFixture object at [hex]>
2026-07-30 17:26:43.644
2026-07-30 17:26:43.653 @pytest.mark.version('>=3.0')
2026-07-30 17:26:43.666 def test_1(act: Action, capsys):
2026-07-30 17:26:43.675 PLANNED_DML_ATTACHMENTS = 20
2026-07-30 17:26:43.685 WAIT_FOR_ALL_CONNECTIONS_START_JOB = 10
2026-07-30 17:26:43.697 lock = Lock()
2026-07-30 17:26:43.707 threads = []
2026-07-30 17:26:43.717 result_list = []
2026-07-30 17:26:43.727 # Start multiple ISQL instances with heavy DML job
2026-07-30 17:26:43.736 b = Barrier(PLANNED_DML_ATTACHMENTS + 1)
2026-07-3

[...SKIPPED...]

_stdout
2026-07-30 17:26:44.385 act.stdout = capsys.readouterr().out
2026-07-30 17:26:44.400 >        assert act.clean_stdout == act.clean_expected_stdout
2026-07-30 17:26:44.412 E        assert
2026-07-30 17:26:44.425 E            DIFF IN FIREBIRD.LOG: + VALIDATION FINISHED: 0 ERRORS
2026-07-30 17:26:44.434 E            Check-1: how many DML attachments really could do their job ?
2026-07-30 17:26:44.442 E            Result: OK, launched = actual
2026-07-30 17:26:44.450 E            Check-2: how many sessions got SQLSTATE = HY000 on shutdown ?
2026-07-30 17:26:44.462 E          - Result: OK, launched = actual
2026-07-30 17:26:44.482 E          + Result: BAD, launched<>actual
2026-07-30 17:26:44.498
2026-07-30 17:26:44.509 tests/bugs/core_4236_test.py:183: AssertionError
2026-07-30 17:26:44.519 ---------------------------- Captured stdout setup -----------------------------
2026-07-30 17:26:44.526 Restoring db: /var/tmp/qa_2024/test_1787/test.fdb from /opt/distr/venv/firebird-qa/backups/core4236.fbk