Uploaded image for project: 'Apache HAWQ'
  1. Apache HAWQ
  2. HAWQ-1558

feature-test result is not environment independent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Tests
    • 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?

      Attachments

        Activity

          People

            jyao Jiali Yao
            kuien Kuien Liu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: