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

soak interrupts test a standalone running test #1708

Closed
cmwylie19 opened this issue Jan 22, 2025 · 0 comments · Fixed by #1714
Closed

soak interrupts test a standalone running test #1708

cmwylie19 opened this issue Jan 22, 2025 · 0 comments · Fixed by #1714
Assignees
Milestone

Comments

@cmwylie19
Copy link
Contributor

The soak interrupts test runs in a GitHub action. We need to be able to run this test locally.

@cmwylie19 cmwylie19 self-assigned this Jan 22, 2025
@cmwylie19 cmwylie19 added this to the v0.44.0 milestone Jan 22, 2025
@cmwylie19 cmwylie19 moved this from 🆕 New to 🏗 In progress in Pepr Project Board Jan 22, 2025
@cmwylie19 cmwylie19 moved this from 🏗 In progress to 👀 In review in Pepr Project Board Jan 23, 2025
github-merge-queue bot pushed a commit that referenced this issue Jan 23, 2025
## Description

The intention behind the soak-interrupts test was to test the informer
pattern by disconnecting the watch and using the `LAST_SEEN_TIME` and
relist to trigger trigger fetch calls against watch resources t update
the ephemeral informer cache and dispatch missed events.

There is currently no way to "turn off" the watch connection without
also turning off the "list" which both communicate to the
kube-apiserver. If there were a way it would need to be a new feature in
KFC.

The way this test is written now it scales down the Pepr pod and brings
it back up and expects the events to be processed. This case is tested
in nearly every excellent example that has a watch and in the UDS test.
There is nothing unique about this test.


## Related Issue

Fixes #1708 
<!-- or -->
Relates to #

## Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [x] Other (security config, docs update, etc)

## Checklist before merging
- [x] Unit,
[Journey](https://github.com/defenseunicorns/pepr/tree/main/journey),
[E2E Tests](https://github.com/defenseunicorns/pepr-excellent-examples),
[docs](https://github.com/defenseunicorns/pepr/tree/main/docs),
[adr](https://github.com/defenseunicorns/pepr/tree/main/adr) added or
updated as needed
- [x] [Contributor Guide
Steps](https://docs.pepr.dev/main/contribute/#submitting-a-pull-request)
followed

Signed-off-by: Case Wylie <[email protected]>
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in Pepr Project Board Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

1 participant