Skip to content

tests/system: fix system tests#5037

Merged
axw merged 2 commits intoelastic:masterfrom
axw:system-tests-agent-config
Mar 31, 2021
Merged

tests/system: fix system tests#5037
axw merged 2 commits intoelastic:masterfrom
axw:system-tests-agent-config

Conversation

@axw
Copy link
Copy Markdown
Member

@axw axw commented Mar 31, 2021

Motivation/summary

Fix Python-based system tests due to several recent changes:

  • Kibana now has a different response structure for listing agent config (API only used in system tests, no backwards compatibility issue for APM Server)
  • Add user_agent.device.type to approvals, which is now added by the user_agent ingest processor

How to test these changes

make system-tests

Related issues

None.

In elastic/kibana#95146
the response structure for listing APM agent central
config changed. Update system tests to match.
@ghost
Copy link
Copy Markdown

ghost commented Mar 31, 2021

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: Pull request #5037 updated

  • Start Time: 2021-03-31T02:56:31.387+0000

  • Duration: 38 min 0 sec

  • Commit: d188a77

Test stats 🧪

Test Results
Failed 0
Passed 6274
Skipped 120
Total 6394

Trends 🧪

Image of Build Times

Image of Tests

@axw axw force-pushed the system-tests-agent-config branch from 8967a97 to c56fad6 Compare March 31, 2021 02:52
elastic/elasticsearch#69322
added support for extracting device types to the
user_agent ingest processors. Update approvals to
match.
@axw axw force-pushed the system-tests-agent-config branch from c56fad6 to d188a77 Compare March 31, 2021 02:55
@axw axw added the v7.13.0 label Mar 31, 2021
@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #5037 (d188a77) into master (141ee87) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #5037   +/-   ##
=======================================
  Coverage   77.23%   77.23%           
=======================================
  Files         178      178           
  Lines       10467    10467           
=======================================
  Hits         8084     8084           
  Misses       2383     2383           

@axw axw marked this pull request as ready for review March 31, 2021 03:44
@axw
Copy link
Copy Markdown
Member Author

axw commented Mar 31, 2021

Trivial fix that only affects system tests, merging without review to unblock other PRs.

@axw axw merged commit 0e09aa6 into elastic:master Mar 31, 2021
@axw axw deleted the system-tests-agent-config branch March 31, 2021 03:45
mergify bot pushed a commit that referenced this pull request Mar 31, 2021
* tests/system: adapt to new API response

In elastic/kibana#95146
the response structure for listing APM agent central
config changed. Update system tests to match.

* tests/system: add user_agent.device.type

elastic/elasticsearch#69322
added support for extracting device types to the
user_agent ingest processors. Update approvals to
match.

(cherry picked from commit 0e09aa6)
axw added a commit that referenced this pull request Apr 1, 2021
* tests/system: fix system tests (#5037)

* tests/system: adapt to new API response

In elastic/kibana#95146
the response structure for listing APM agent central
config changed. Update system tests to match.

* tests/system: add user_agent.device.type

elastic/elasticsearch#69322
added support for extracting device types to the
user_agent ingest processors. Update approvals to
match.

(cherry picked from commit 0e09aa6)

* user_agent.device.type isn't in 7.x yet

* make update

* systemtest: revert approvals changes

Co-authored-by: Andrew Wilkins <axw@elastic.co>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants