Requirement test sample files should be validated as XMLs before used
評価
この issue はまだ評価されていません。
説明
If element is not formatted correctly (eg. <field name="dest" value="so1" \> instead of <field name="dest" value="so1" />), tests are not executed and misleading information is given to the user:
WARNING pytest-splunk-addon:splunk.py:831 Could not connect to Universal Forwarder Instance. Will try again. exception=[Errno 0] Error
INFO pytest-splunk-addon:splunk.py:817 Trying to connect Universal Forwarder instance... splunk={"uf_host": "127.0.0.1", "uf_port": 61328, "uf_username": "admin", "uf_password": "[some password]"}
INFO pytest-splunk-addon:splunk.py:825 Connected to Universal Forwarder instance.
INFO pytest-splunk-addon:splunk.py:784 Events cleanup was disabled.
DEBUG filelock:_api.py:169 Attempting to acquire lock 140391159921680 on ef875bad1f9e4cfc94db55edbf5a90d1_events.lock
DEBUG filelock:_api.py:173 Lock 140391159921680 acquired on ef875bad1f9e4cfc94db55edbf5a90d1_events.lock
DEBUG filelock:_api.py:203 Attempting to release lock 140391159921680 on ef875bad1f9e4cfc94db55edbf5a90d1_events.lock
DEBUG filelock:_api.py:206 Lock 140391159921680 released on ef875bad1f9e4cfc94db55edbf5a90d1_events.lock
INFO pytest-splunk-addon:hec_event_ingestor.py:120 Making a HEC event request with the following params:
hec_uri:https://127.0.0.1:61242/services/collector
headers:{'Authorization': 'Splunk 9b741d03-43e9-4164-908b-e09102327d22'}
DEBUG urllib3.connectionpool:connectionpool.py:1005 Starting new HTTPS connection (1): 127.0.0.1:61242
DEBUG urllib3.connectionpool:connectionpool.py:465 https://127.0.0.1:61242 "POST /services/collector/event HTTP/1.1" 200 27
=========================================================================================================== short test summary info ============================================================================================================
ERROR tests/requirement_test/test_addon.py::Test_App::test_events_with_untokenised_values - File "<string>", line None
=================================================================================================== 1 skipped, 1 error in 194.39s (0:03:14) ====================================================================================================
Desirable is to have information that "XML is not formatted correctly" and tests terminated.
- 主要言語
- Python
- スター
- 66
- フォーク
- 21
- 平均マージ
- 7時間 10分
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
splunk/pytest-splunk-addon のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
splunk/pytest-splunk-addon#959 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 70/100
splunk/pytest-splunk-addon#967 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
splunk/pytest-splunk-addon#963 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
splunk/pytest-splunk-addon#895 ·
-
enhancement major
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
splunk/pytest-splunk-addon#549 ·
splunk/pytest-splunk-addon の issue をすべて見る
似ている issue
-
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
fossasia/visdom-dev#69 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
BUG: PROD: v1.3.0-beta Onboarding Profile Picture Misaligns When Name Validation Error Appears対応中かも @RitikaSen27 が今日担当しました。 オープンbug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
AOSSIE-Org/PictoPy#1647 · コメント 2 件 ·
メンテナーはふだん 2 日以内に返信
-
[oblt-aw][autodoc] Update workflow docs for gh-aw v0.92.5 and detector permission scope対応中かも @github-actions が今日担当しました。 オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信