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

Example minimal pipeline for smoke/load/chaos + Pumba chaos tool wrapper #1301

Merged
merged 16 commits into from
Nov 6, 2024

Conversation

skudasov
Copy link
Collaborator

@skudasov skudasov commented Nov 6, 2024


Below is a summarization created by an LLM (gpt-4-0125-preview). Be mindful of hallucinations and verify accuracy.

Why

The changes include adding new test configurations and implementations for smoke, load, and chaos testing scenarios using Chainlink nodes. The configurations specify the blockchain setup, data provider, and node set details required for the tests. The test implementations leverage the Chainlink testing framework to orchestrate the setup and execute different types of tests to ensure the Chainlink nodes' reliability, performance, and resilience under various conditions.

What

  • Added smoke.toml, load.toml, and chaos.toml configuration files for defining test setups for smoke, load, and chaos testing scenarios respectively.
  • Implemented smoke_test.go, load_test.go, and chaos_test.go to perform the actual tests using the Chainlink testing framework. These tests include setting up the blockchain network, data provider, and Chainlink nodes as specified in the configuration files.
  • Introduced gun.go to define custom "gun" implementations for firing requests to Chainlink nodes during the tests, specifically targeting the bridges API endpoint in the bridges mode.
  • Added .envrc and go.mod files for environment configuration and module dependencies management.
  • Included docker-compose.yaml and other related provisioning files (access-control/sample.yaml, datasources/loki.yaml, notifiers/sample.yaml, plugins/sample.yaml, rules/rules.yml) for setting up the local testing environment, including services like Loki for logging.
  • The .gitignore file has been updated to ignore unnecessary files and directories during development.

@skudasov skudasov changed the title Examples load Example minimal pipeline for smoke/load/chaos Nov 6, 2024
@skudasov skudasov marked this pull request as ready for review November 6, 2024 15:55
@skudasov skudasov requested review from sebawo and a team as code owners November 6, 2024 15:55
@skudasov skudasov changed the title Example minimal pipeline for smoke/load/chaos Example minimal pipeline for smoke/load/chaos + Pumba chaos tool wrapper Nov 6, 2024
@cl-sonarqube-production
Copy link

@skudasov skudasov merged commit 3c5e76a into main Nov 6, 2024
45 of 49 checks passed
@skudasov skudasov deleted the examples-load branch November 6, 2024 17:29
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.

2 participants