Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-16988

Can't run the regression suite from another directory without --config parameter

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.4.0
    • Fix Version/s: 6.4.0
    • Component/s: Regression Test Engine
    • Labels:
      None

      Description

      If executed from a different directory

       ~/HPCC-Platform/testing/regress/ecl-test query  ConfTest.ecl
      

      it fails with an exception

       ~/HPCC-Platform/testing/regress/ecl-test query  ConfTest.ecl
      Traceback (most recent call last):
        File "/home/ati/HPCC-Platform/testing/regress/ecl-test", line 290, in <module>
          regressMain.main()
        File "/home/ati/HPCC-Platform/testing/regress/ecl-test", line 200, in main
          self.config = Config(self.args.config).configObj
        File "/home/ati/HPCC-Platform/testing/regress/hpcc/common/config.py", line 54, in __init__
          self.configObj = self.loadConfig(self.fileName)
        File "/home/ati/HPCC-Platform/testing/regress/hpcc/common/config.py", line 63, in loadConfig
          raise(e)
      IOError: [Errno 2] No such file or directory: 'ecl-test.json'
      

      if there is not --config definition to the default directory like

       ~/HPCC-Platform/testing/regress/ecl-test query --config ~/HPCC-Platform/testing/regress/ecl-test.json ConfTest.ecl
      

      If no explicit --config definition then Regression Test Engine should use the default ecl-test.json

        Attachments

          Activity

            People

            • Assignee:
              attilavamos Attila Vamos
              Reporter:
              attilavamos Attila Vamos
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: