Skip to content

Conversation

@nsano-rururu
Copy link
Contributor

@nsano-rururu nsano-rururu commented Nov 22, 2020

Fix
#2725

elasticsearch-py Test Run Send real alerts
7.0.0
7.10.0
7.10.0
(fix test_rules.py )
7.10.0
(fix test_rules.py )

(Fix initializing self.thread_data.alerts_sent for running elastalert-test-rule #2991)

@nsano-rururu
Copy link
Contributor Author

When I run ElastAlertServer with elasticsearch-py 7.10.0, I have confirmed that the following warning appears.

16:13:49.571Z ERROR elastalert-server:
    ProcessController:  /home/node/.local/lib/python3.8/site-packages/elasticsearch/connection/base.py:190: ElasticsearchDeprecationWarning: Camel case format name dateOptionalTime is deprecated and will be removed in a future version. Use snake case name date_optional_time instead.
      warnings.warn(message, category=ElasticsearchDeprecationWarning)
    /home/node/.local/lib/python3.8/site-packages/elasticsearch/connection/base.py:190: ElasticsearchDeprecationWarning: [types removal] Using include_type_name in put mapping requests is deprecated. The parameter will be removed in the next major version.
      warnings.warn(message, category=ElasticsearchDeprecationWarning)

@nsano-rururu nsano-rururu changed the title Fix elasticsearch-py versionup test_rule.py error Fix elasticsearch-py test_rule.py error Jan 11, 2021
@nsano-rururu nsano-rururu reopened this Jan 12, 2021
@nsano-rururu nsano-rururu deleted the fix_test_rule_error branch February 3, 2021 23:17
@nsano-rururu nsano-rururu restored the fix_test_rule_error branch February 4, 2021 02:20
@nsano-rururu nsano-rururu deleted the fix_test_rule_error branch April 25, 2021 02:05
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

Successfully merging this pull request may close these issues.

1 participant