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

stateful db for chaos tests #1303

Merged
merged 14 commits into from
Nov 7, 2024
Merged

stateful db for chaos tests #1303

merged 14 commits into from
Nov 7, 2024

Conversation

skudasov
Copy link
Collaborator

@skudasov skudasov commented Nov 7, 2024


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

Why

The changes introduce configuration updates, new tests, and enhancements across multiple files to improve testing capabilities, code efficiency, and feature documentation within the project.

What

  • .github/workflows/framework-golden-tests.yml
    Added fail-fast: false to strategy to continue running tests even if one fails. Changed cache key and restore keys to be more specific, improving cache effectiveness.
  • book/src/SUMMARY.md
    Added a new section for Docker documentation.
  • book/src/ci/ci.md
    Updated the workflow example to match the new testing strategy and environment setup.
  • book/src/framework/docker.md
    New file providing documentation for Docker usage and commands.
  • book/src/framework/first_test.md
    Updated the text to direct users to the next step more clearly.
  • book/src/framework/nodeset_environment.md
    Simplified the output for accessing the Chainlink node UI.
  • framework/chaos/chaos.go
    Enhanced the ExecPumba function to accept a wait time parameter, improving the handling of chaos experiments.
  • framework/cmd/blockscout.go and framework/cmd/observability.go
    Removed redundant success messages for a cleaner output.
  • framework/cmd/docker.go
    Enhanced Docker clean-up commands to include volume removal.
  • framework/cmd/interactive.go
    Updated the success message for clearer instructions after spinning up services.
  • framework/components/clnode/clnode_test.go
    Adjusted database configuration for testing, introducing port and volume name parameters.
  • framework/components/postgres/postgres.go
    Enhanced PostgreSQL component to support custom port and volume names, improving flexibility in database setup.
  • framework/components/simple_node_set/node_set.go
    Introduced changes to improve node set configuration and logging, including sorting nodes by port for consistent output.
  • framework/components/simple_node_set/nodeset_test.go
    Updated test to reflect new PostgreSQL configuration options.
  • framework/components/simple_node_set/reload.go
    New function to allow updating node configurations, aimed at temporary adjustments for testing.
  • framework/examples/myproject/chaos_test.go
    Updated chaos test to use the new ExecPumba function signature with wait time.
  • framework/examples/myproject/go.mod, framework/examples/myproject/go.sum
    Updated dependencies to match the new code changes.
  • framework/examples/myproject/reload.toml
    New configuration file for testing node set reloads.
  • framework/examples/myproject/reload_test.go
    New test file to verify the behavior of reloading node configurations.

@skudasov skudasov marked this pull request as ready for review November 7, 2024 15:46
@skudasov skudasov requested review from sebawo and a team as code owners November 7, 2024 15:46
@skudasov skudasov merged commit bc5f730 into main Nov 7, 2024
42 of 44 checks passed
@skudasov skudasov deleted the stateful_db_chaos branch November 7, 2024 16:36
@cl-sonarqube-production
Copy link

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