Closed ryanluu12345 closed 1 month ago
Left some comments here and also notes about my implementation thought process. I think once we land on something we're mutually happy with, I'll go ahead and make these updates to the other test locations:
I searched the repo for this: SELECT count(*) FROM %s
Found places that need some fixing:
integration_test.go
for pglogical and mylogicalinternal/target/apply/apply_test.go
dlq_test.go
Previously, product specific switch cases were used to determine how to build a query for the target database in the script test. We want to commonize this to a helper that can take care of the product specific logic and execute the query to find the row counts based on predicate.
Integrated this into the script test after implementing.
Resolves: #689 Release Note: None
This change is