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

Fix TestEmitAuditEventForLargeEvents #48212

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

rosstimothy
Copy link
Contributor

@rosstimothy rosstimothy commented Oct 31, 2024

The test relied on the fact that AppSessionRequests did not implement TrimToMaxSize. However, now that all events are forced to implemement TrimToMaxSize the test was always failing. To fix, a wrapper around the event was added that overrides TrimToMaxSize that does no trimming.

The test relied on the fact that AppSessionRequests did not
implement TrimToMaxSize. However, now that all events are forced
to implemement TrimToMaxSize the test was always failing. To fix
a wrapper around the event was added that overrides TrimToMaxSize
that does no trimming.
@github-actions github-actions bot requested review from fspmarshall and tcsc October 31, 2024 13:52
@github-actions github-actions bot added audit-log Issues related to Teleports Audit Log size/sm labels Oct 31, 2024
@rosstimothy rosstimothy added the no-changelog Indicates that a PR does not require a changelog entry label Oct 31, 2024
Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-48212.d3pp5qlev8mo18.amplifyapp.com

@rosstimothy rosstimothy enabled auto-merge October 31, 2024 16:13
@rosstimothy rosstimothy added this pull request to the merge queue Oct 31, 2024
Merged via the queue into master with commit 69ed0a8 Oct 31, 2024
43 of 44 checks passed
@rosstimothy rosstimothy deleted the tross/fix_TestEmitAuditEventForLargeEvents branch October 31, 2024 16:57
@public-teleport-github-review-bot

@rosstimothy See the table below for backport results.

Branch Result
branch/v14 Create PR
branch/v15 Create PR
branch/v16 Create PR
branch/v17 Create PR

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/branch/v14 backport/branch/v15 backport/branch/v16 backport/branch/v17 no-changelog Indicates that a PR does not require a changelog entry size/sm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants