-
Notifications
You must be signed in to change notification settings - Fork 686
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
Improve DDL replication related regression tests. #360
Conversation
d494fdb
to
721d816
Compare
Could you check if we need the multi_alter_table_statements_0.source file? I think the primary reason for this file was the differing DEBUG output across 9.4 / 9.5. Now that you've removed the DEBUG statements, I think it should be safe to remove the file. |
@anarazel : This looks good, other than the few minor comments I added above. I also ran check-full and all tests pass, so should be good to go once you've looked at the above. |
WRT hash indexes: In theory I agree, but given that adding a gin/gist index for a similar test would be just as complicated as the hash index test (due to them only being available for few datatypes without extension), I'm inclined to leave it as is. |
5af6f99
to
048a6ee
Compare
@samay-sharma There are two PRs (#385 and #388) which are changing the outputs of So, are there any blockers to check-in this? Thanks! |
048a6ee
to
52c48fe
Compare
There already exist tests that locally embed knowledge about port numbers, and there's more tests requiring that. Instead of copying \set's to several tests, make these port number variables available to all tests.
The previous form of the test, utilizing DEBUG2, included too much output dependent on the specifc system and version. Reformulate it to explicitly connect to workers and show the schema there, when necessary. The only remaining difference in some of the remaining alternate regression test files was due to an older minor version release change. Remove those as well.
52c48fe
to
5330946
Compare
…ments Improve DDL replication related regression tests. Reviewed-By: Samay Sharma
After this checked-in, the regression tests fail on PG 9.4.5 on my MacOS box on the master branch. I also tested this on an UBUNTU 14.04, the same result. I don't understand how it passed on travis. The diff output is:
How should we tackle this? |
Update to a recent 9.4 release (i.e. 9.4.6), that's a difference between On Fri, Mar 18, 2016 at 5:33 AM, Önder Kalacı [email protected]
|
@onderkalaci Have you verified that the above this indeed the cause of your problem? |
Yes @anarazel, I verified that is a difference between minor versions (i.e., all tests pass on 9.4.6 whereas |
…ments Improve DDL replication related regression tests. Reviewed-By: Samay Sharma
The previous form of the test, utilizing DEBUG2, included too much
output dependent on the specifc system and version. Reformulate it to
explicitly connect to workers and show the schema there, when necessary.
@sumedhpathak I guess @samay-sharma can be the reviewer here?