Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alerting: run_test creates warnings/errors though successful #337

Open
getkub opened this issue Aug 30, 2020 · 0 comments
Open

Alerting: run_test creates warnings/errors though successful #337

getkub opened this issue Aug 30, 2020 · 0 comments

Comments

@getkub
Copy link

getkub commented Aug 30, 2020

Errors and warnings in "Alerting" examples.

Though the alerting examples work fine, the errors/WARNINGs are showing which makes automated checks pretty hard. please see error below

sh ./run_test.sh unexpected_account_activity elastic changeme localhost:9200 http

--------------------------------------------------
Running test unexpected_account_activity/tests/test1.json
/usr/lib/python3/dist-packages/requests/__init__.py:80: RequestsDependencyWarning: urllib3 (1.25.10) or chardet (3.0.4) doesn't match a supported version!
  RequestsDependencyWarning)
Expected: Watch Condition: True
Received: Watch Condition: True
Expected: Users added and removed in the last 5m:testUserB:
Received: Users added and removed in the last 5m:testUserB:
TEST PASS
./run_test.sh: 44: ./run_test.sh: let: not found
./run_test.sh: 48: ./run_test.sh: let: not found
--------------------------------------------------
1 tests run: 1 passed. 0 failed.

The test is success, but still the warnings are bit harsh. the URLLIB is all as per Elastic documentation for python client library. So may need to be less strict on them too.

Link to code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant