Skip to content

Fix primary_key regression test to align with Spock 5.0 behavior #83

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

rasifr
Copy link
Member

@rasifr rasifr commented Jul 9, 2025

Updated the test case to reflect current behavior where workers no longer quit on replication errors. With Spock 5.0, subscriptions are now disabled when exception_behaviour = 'SUB_DISABLE'.

Also added a helper function to the init script to simplify setup of test scenarios.

@mason-sharp mason-sharp self-requested a review July 10, 2025 16:47
Updated the test case to reflect current behavior where workers no longer quit
on replication errors. With Spock 5.0, subscriptions are now disabled when
exception_behaviour = 'SUB_DISABLE'.

Also added a helper function to the init script to simplify setup of test
scenarios.
@rasifr rasifr force-pushed the SPOC-82-add-primary_key-regression-tests branch from 3a7400f to a60a4c4 Compare July 11, 2025 17:18
@mason-sharp
Copy link
Member

The codacy complaints are for the regression test sql files that run fine and can be ignored. Will look into configuring to ignore those.

@mason-sharp mason-sharp merged commit d83510e into pgEdge:main Jul 14, 2025
1 check failed
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