Skip to content
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.

Fix test failures #19

Merged
merged 1 commit into from
Mar 18, 2020
Merged

Fix test failures #19

merged 1 commit into from
Mar 18, 2020

Conversation

zhongnansu
Copy link
Contributor

Issue #, if available:
#16
Description of changes:

  1. error in test_esconnection.py is actually caused by failure to retrieve aws credentials. Fixed by adding simple if...else logic. Also added pop-up error messages.
  2. Error in test_essqlci.py is due to the dynamic specification of dependency version. Fixed by switching to fixed version number for every dependency.

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

"prompt_toolkit == 2.0.6",
"Pygments == 2.6.1",
"cli_helpers[styles] == 1.2.1",
"elasticsearch == 7.5.1",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason specify 7.5.1 here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it is just the latest stable version of elasticsearch python client. I change it to a fixed version because I switched to use fixed version number. I believe it is also good for maintenance. For reference https://elasticsearch-py.readthedocs.io/en/master/ "For Elasticsearch 7.0 and later, use the major version 7 (7.x.y) of the library."

Copy link
Contributor

@chloe-zh chloe-zh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zhongnansu zhongnansu merged commit 3a2c216 into amazon-archives:master Mar 18, 2020
@zhongnansu zhongnansu mentioned this pull request Mar 18, 2020
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.

2 participants