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-08-26 09:38:37.350
2026-08-26 09:38:37.350 act = <firebird.qa.plugin.Action object at [hex]>
2026-08-26 09:38:37.350 capsys = <_pytest.capture.CaptureFixture object at [hex]>
2026-08-26 09:38:37.350
2026-08-26 09:38:37.350     @pytest.mark.version('>=3.0')
2026-08-26 09:38:37.350     def test_1(act: Action, capsys):
2026-08-26 09:38:37.350          PLANNED_DML_ATTACHMENTS = 20
2026-08-26 09:38:37.350          WAIT_FOR_ALL_CONNECTIONS_START_JOB = 10
2026-08-26 09:38:37.350          lock = Lock()
2026-08-26 09:38:37.350          threads = []
2026-08-26 09:38:37.350          result_list = []
2026-08-26 09:38:37.350          # Start multiple ISQL instances with heavy DML job
2026-08-26 0

[...SKIPPED...]

ected_stdout
2026-08-26 09:38:37.365          act.stdout = capsys.readouterr().out
2026-08-26 09:38:37.365 >        assert act.clean_stdout == act.clean_expected_stdout
2026-08-26 09:38:37.365 E        assert
2026-08-26 09:38:37.365 E            DIFF IN FIREBIRD.LOG: + VALIDATION FINISHED: 0 ERRORS
2026-08-26 09:38:37.365 E            Check-1: how many DML attachments really could do their job ?
2026-08-26 09:38:37.365 E            Result: OK, launched = actual
2026-08-26 09:38:37.365 E            Check-2: how many sessions got SQLSTATE = HY000 on shutdown ?
2026-08-26 09:38:37.365 E          - Result: OK, launched = actual
2026-08-26 09:38:37.365 E          + Result: BAD, launched<>actual
2026-08-26 09:38:37.365
2026-08-26 09:38:37.365 tests\bugs\core_4236_test.py:183: AssertionError
2026-08-26 09:38:37.365 ---------------------------- Captured stdout setup ----------------------------
2026-08-26 09:38:37.365 Restoring db: R:\Temp\qa\fbqa\test_1788\test.fdb from F:\FBQA\qa-repo\backups\core4236.fbk