hawq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kuien Liu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HAWQ-1558) feature-test result is not environment independent
Date Thu, 30 Nov 2017 09:16:01 GMT
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)

Mime
View raw message