Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
When I run ./feature-test with seperate test, for example,
1. ./feature-test --gtest_filter=TestType.*
Some test sets, e.g., 'date.sql', 'int8.sql', 'time.sql' etc will fail. BUT if I run it with
2. ./parallel-run-feature-test.sh 4 ./feature-test --gtest_filter=TestType.*
3. Or, PGTZ="PST8PDT" PGDATESTYLE="Postgres, MDY" ./feature-test --gtest_filter=TestType.*
At least the test 'date.sql' will pass! That means, feature-test result is not environment independent, some environment variables are missed to be set for some reason.
I think we can borrow some idea from pg_regress.c to 'putenv()' those variables (LC_, PG), what do you think?