OpenSearch-Dashboards icon indicating copy to clipboard operation
OpenSearch-Dashboards copied to clipboard

[BUG] get_keystore test using absolute path

Open abbyhu2000 opened this issue 3 years ago • 0 comments

Describe the bug Get_keystone checks if the path contains the word 'config'. However, if we have a branch with a name including the word 'config', the get_keystone test will fail on Jenkins because it is taking the branch name to create a new folder and validate against the absolute path. We should not test against an absolute path because we should only care about what is within the opensearch dashboard application but not the path outside of opensearch dashboards.

To Reproduce Steps to reproduce the behavior:

  1. Create a branch and name it with the word 'config'
  2. Go to Jenkins
  3. Build
  4. See error log under unit test: get_keystore test failed

Screenshots Screen Shot 2021-09-08 at 6 26 11 PM

abbyhu2000 avatar Sep 09 '21 01:09 abbyhu2000