Skip to content

test: disconnect cds after messaging suite to prevent teardown errors - #49

Open
mariayord wants to merge 1 commit into
mainfrom
fix/messaging-test-cds-disconnect
Open

test: disconnect cds after messaging suite to prevent teardown errors#49
mariayord wants to merge 1 commit into
mainfrom
fix/messaging-test-cds-disconnect

Conversation

@mariayord

@mariayord mariayord commented Jul 30, 2026

Copy link
Copy Markdown

Async messaging callbacks fired after Jest module teardown, hitting
stale lazy-require proxies in cds-compiler. afterAll disconnect
drains the pool and stops async machinery before teardown.

fixes: https://github.tools.sap/cap/cdsnode/issues/2801

@mariayord
mariayord requested a review from johannes-vogel July 30, 2026 11:18
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.

1 participant