Skip to content

tests: improve pulse integration tests (bug 2024547)#86

Merged
shtrom merged 8 commits intomainfrom
bug2024547/improve-integration-tests
Apr 21, 2026
Merged

tests: improve pulse integration tests (bug 2024547)#86
shtrom merged 8 commits intomainfrom
bug2024547/improve-integration-tests

Conversation

@shtrom
Copy link
Copy Markdown
Member

@shtrom shtrom commented Mar 27, 2026

  • docker: use container naming consistent across projects

  • tests: improve pulse integration tests

    Add tests to exercise routing_key mismatches, and fix tests for
    successful delivery that were passing by luck.

    One key learning here is that each binding needs to be attached to a
    separate queue, otherwise any worker listening to a given queue may
    receive all messages matching any of the bindings.

  • lint: format test_config_files with ruff

  • tests: skip suite configuration placeholder

  • build: add rudimentary Makefile

shtrom added 3 commits March 26, 2026 18:00
Add tests to exercise routing_key mismatches, and fix tests for
successful delivery that were passing by luck.

One key learning here is that each binding needs to be attached to a
separate queue, otherwise any worker listening to a given queue may
receive all messages matching the bindings.
@shtrom shtrom requested review from cgsheeh and dklawren March 27, 2026 08:15
Comment thread tests/pulse_utils.py Outdated
@shtrom shtrom force-pushed the bug2024547/improve-integration-tests branch from f95c481 to 8831746 Compare March 30, 2026 07:07
@shtrom shtrom force-pushed the bug2024547/improve-integration-tests branch from 8831746 to 09a81f9 Compare March 30, 2026 07:08
Comment thread tests/test_integration.py
@shtrom
Copy link
Copy Markdown
Member Author

shtrom commented Apr 21, 2026

The integration test stalls in GitHub Actions. Bisecting in #91

@shtrom shtrom force-pushed the bug2024547/improve-integration-tests branch from e98c442 to b7bc3d5 Compare April 21, 2026 06:45
@shtrom shtrom force-pushed the bug2024547/improve-integration-tests branch 2 times, most recently from 20c7295 to fd0cadd Compare April 21, 2026 08:06
@shtrom shtrom force-pushed the bug2024547/improve-integration-tests branch from fd0cadd to 838c977 Compare April 21, 2026 08:09
@shtrom
Copy link
Copy Markdown
Member Author

shtrom commented Apr 21, 2026

The integration test stalls in GitHub Actions. Bisecting in #91

Looks like this was due to not declaring the queue and binding prior to sending the first messages.

@shtrom shtrom merged commit cc1e624 into main Apr 21, 2026
3 checks passed
@shtrom shtrom deleted the bug2024547/improve-integration-tests branch April 21, 2026 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants