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

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

    [ https://issues.apache.org/jira/browse/HAWQ-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16272468#comment-16272468 ] 

Xiang Sheng commented on HAWQ-1558:
-----------------------------------

[~kuien] 
You should run feature test  use this shell by designed. https://github.com/apache/incubator-hawq/blob/master/src/test/feature/parallel-run-feature-test.sh .  If you want to run in serial mode, you could set the worker to 1. 

> 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., '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?



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