Skip to content

[v13] Deflake TestChaosUpload#33611

Merged
zmb3 merged 1 commit intobranch/v13from
bot/backport-33586-branch/v13
Oct 17, 2023
Merged

[v13] Deflake TestChaosUpload#33611
zmb3 merged 1 commit intobranch/v13from
bot/backport-33586-branch/v13

Conversation

@zmb3
Copy link
Copy Markdown
Collaborator

@zmb3 zmb3 commented Oct 17, 2023

Backport #33586 to branch/v13

This test attempted to verify that the uploader is able to operate
correctly even when faults are injected into the system.

It ended up being flaky for a number of reasons, but the biggest
issue is that it wasn't simulating a real world scenario.

1. It used a fake clock, but never advanced it, so the uploader's
   scan loop didn't correctly "tick" and only ran once.
2. It invoked many uploader scans in parallel while also running
   the uploader's own scan loop in the background. In any real
   deployment we only have one scan loop running, so this test
   is creating an environment that never exists in the wild.

Updates #33099
@github-actions github-actions Bot added audit-log Issues related to Teleports Audit Log backport size/sm labels Oct 17, 2023
@zmb3 zmb3 added this pull request to the merge queue Oct 17, 2023
Merged via the queue into branch/v13 with commit a13f547 Oct 17, 2023
@zmb3 zmb3 deleted the bot/backport-33586-branch/v13 branch October 17, 2023 22:46
@camscale camscale mentioned this pull request Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

audit-log Issues related to Teleports Audit Log backport size/sm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants