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

Pipeline recovery: test cases #1873

Merged
merged 6 commits into from
Oct 3, 2024

Conversation

hariso
Copy link
Contributor

@hariso hariso commented Oct 1, 2024

Description

Please include a summary of the change and what type of change it is (new feature, bug fix, refactoring, documentation).
Please also include relevant motivation and context.
List any dependencies that are required for this change.

Fixes # (issue)

Quick checks

  • I have followed the Code Guidelines.
  • There is no other pull request for the same update/change.
  • I have written unit tests.
  • I have made sure that the PR is of reasonable size and can be easily reviewed.

@hariso hariso marked this pull request as ready for review October 3, 2024 10:14
@hariso hariso requested a review from a team as a code owner October 3, 2024 10:14
@hariso hariso merged commit 5443f18 into raul/restart-with-recovery Oct 3, 2024
3 of 4 checks passed
@hariso hariso deleted the haris/pipeline-recovery-tests branch October 3, 2024 12:57
raulb added a commit that referenced this pull request Oct 4, 2024
* wip

* implement restart method

* implement restart swapping nodes

* fix method calls

* fix some tests

* fix another test

* fix test

* update comment and refactor test

* refactor tests (wip)

* restart test WIP

* remove redundant code

* update test

* fix test

* add new tests and refactor

* fix logger

* cosmetic changes

* move to a separate method

* add tracing and fix max retries

* not needed

* Set -1 as infinite retries for err recovery

* rename flag

* goes to degraded once it exits

* fix const

* simpler implementation

* add test case for 0 max-retries

* fix test

* no need to kill the tomb

* typo and fix

* fix exit-on-degraded when degraded

* log before erroring

* removes restart and uses start

* clearer validation

* handle recovery

* Pipeline recovery: test cases (#1873)


---------

Co-authored-by: Raúl Barroso <ra.barroso@gmail.com>

* Pipeline recovery tests: add test pipeline, add test case (#1876)

* need to return err

* assign error

* updated test cases

* reuse method

* use log.AttemptField

---------

Co-authored-by: Haris Osmanagic <haris@meroxa.io>
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