You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Java tests have a framework for running pg_regress tests in src/postgres/src/test/regress. There is no such framework for other directories, like src/postgres/contrib, which contains regress tests for extensions. Extend the framework to support those regress tests.
The text was updated successfully, but these errors were encountered:
Summary:
Carve out part of PgRegressRunner into a new class PgRegressBuilder
responsible for building the pg_regress commandline and other related
things.
In the process, also split up the notion of input directory and
pg_regress directory. Currently, all regress tests have the input
directory the same as the pg_regress directory, but that will no longer
be the case when we support regress tests in contrib for extensions.
Have PgRegressBuilder cleanly separate out those concepts.
Test Plan: TestPgRegress* Java tests
Reviewers: alex
Reviewed By: alex
Subscribers: dmitry, yql
Differential Revision: https://phabricator.dev.yugabyte.com/D12345
Summary:
Add more Java regress tests for extensions under src/postgres/contrib,
this time porting over sql and expected files to yb_pg_foo due to small
differences:
- cube:
- error on amvalidate
- error on gist
- add extra ORDER BY for some tie-breakers
- earthdistance:
- comment out drop extension because of inconsistent errdetail
- hstore:
- error on amvalidate
- error on gist
- error on gin
- error on btree
- add ORDER BY in json_agg
- intarray:
- error on amvalidate
- warn on analyze
- error on gist
- error on gin
- isn:
- error on amvalidate
- tablefunc:
- rm "without orderby" queries
- add several ORDER BY
Test Plan:
Jenkins: java only, build type: release
./yb_build.sh --java-test TestPgRegressContribCube
./yb_build.sh --java-test TestPgRegressContribEarthdistance
./yb_build.sh --java-test TestPgRegressContribHstore
./yb_build.sh --java-test TestPgRegressContribIntarray
./yb_build.sh --java-test TestPgRegressContribIsn
./yb_build.sh --java-test TestPgRegressContribTablefunc
Reviewers: alex
Reviewed By: alex
Subscribers: yql
Differential Revision: https://phabricator.dev.yugabyte.com/D12415
The Java tests have a framework for running pg_regress tests in src/postgres/src/test/regress. There is no such framework for other directories, like src/postgres/contrib, which contains regress tests for extensions. Extend the framework to support those regress tests.
The text was updated successfully, but these errors were encountered: