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

all: Document full integration testing #10

Open
jiping-s opened this issue Jun 4, 2021 · 0 comments
Open

all: Document full integration testing #10

jiping-s opened this issue Jun 4, 2021 · 0 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@jiping-s
Copy link
Collaborator

jiping-s commented Jun 4, 2021

Document our full integration testing once we have a prototype setup

The scope of full integration testing should cover:

  • Input: mixed normal log records (200b) and huge log records (~50K), with a sizable part of them to be dropped
  • Processing: hit every transforms except deprecated or not-recommended-for-production
  • Output: network output
  • Upstream: fake server from https://github.com/relex/fluentlib with random failures to trigger recovery
  • Kill agent in the middle and restart to test shutdown & recovery: note this only works for catchable signals such as SIGTERM

Automatic verification needs to cover:

  • Final output logs from upstream in JSON
    • Order of output logs should be the same as input, per each of pipeline (key-set)
      • Except when recovery happens, which should be resent and possibly duplicated in the original order. For example logs 1 2 3 4 5 may be sent as 1 2 3 | 2 3 | 4 5
  • Metric values except buffer metrics regarding on-disk vs in-memory chunks
@jiping-s jiping-s added documentation Improvements or additions to documentation enhancement New feature or request labels Jun 4, 2021
@jiping-s jiping-s changed the title all: document full integration testing all: Document full integration testing Jun 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant