elastic / elastic/elastic-package

Allow negative testing in system tests

Open
#2,800 0 comments 0 reactions 0 assignees View on GitHub
discuss enhancement Team:Ecosystem
Dominant language
Go
Stars
72
Forks
141
Avg merge
19h 42m
Merged PRs (30d)
55

Description

The system test equivalent of https://github.com/elastic/elastic-package/issues/912.

I'd like to assert that an error document is produced and that the agent goes into a degraded state. An example of the type of logic this could test is in https://github.com/elastic/integrations/pull/14771.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the linked elastic-package issue 912 and the logic demonstrated in integrations pull request 14771. Identify the system-test entry points and existing assertions for agent state and output documents; done means a system test can verify both an error document and a degraded agent state.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.