Skip to content
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.

Fix CSV Test Cases #62

Merged
merged 3 commits into from
Aug 26, 2020

Conversation

davidcui1225
Copy link
Contributor

Issue #, if available:
N/A
Description of changes:
Fixed test cases to run successfully

  • Automatically creates datareport index and adds docs needed to pass test cases
  • Fix ES id for test cases
  • Add JSON data for the docs to be added to the datareport index
  • renamed report.ts to visualReport.ts to differentiate with dataReport

Current pre-requisites for test cases to pass:

  • Elasticsearch must be running on localhost:9200
  • Kibana must be running on localhost:5601
  • The .kibana index must have the kibana_sample_data_flights sample data installed

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

server/routes/index.ts Outdated Show resolved Hide resolved
server/routes/index.ts Outdated Show resolved Hide resolved
server/routes/index.ts Outdated Show resolved Hide resolved
server/routes/utils/__tests__/dataReportTestDataLarge.json Outdated Show resolved Hide resolved
server/routes/utils/dataReportHelpers.ts Show resolved Hide resolved
@davidcui1225 davidcui1225 merged commit 3cdf5a5 into opendistro-for-elasticsearch:dev Aug 26, 2020
@davidcui1225 davidcui1225 deleted the 7.8-patch branch October 26, 2020 16:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants