You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "Kuien Liu (JIRA)" <ji...@apache.org> on 2017/11/30 09:16:01 UTC

[jira] [Created] (HAWQ-1558) feature-test result is not environment independent

Kuien Liu created HAWQ-1558:
-------------------------------

             Summary: feature-test result is not environment independent
                 Key: HAWQ-1558
                 URL: https://issues.apache.org/jira/browse/HAWQ-1558
             Project: Apache HAWQ
          Issue Type: Bug
          Components: Tests
            Reporter: Kuien Liu
            Assignee: Jiali Yao


When I run ./feature-test with seperate test, for example,

1.  ./feature-test --gtest_filter=TestType.*

Some test sets, e.g., data.sql, 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.*

Test of data.sql will successes! 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?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)