test: add concurrent fetch and read tests for privileges #243

Merged
argoyle merged 1 commits from test-concurrent-fetch-read-privileges into main 2025-11-03 11:46:02 +00:00
argoyle commented 2025-11-03 11:40:27 +00:00 (Migrated from gitlab.com)

Adds multiple tests to verify the thread-safety of the
Fetch method and the handling of privileges in concurrent
operations. Tests include concurrent fetching, reading
privileges, and processing with multiple goroutines.
Ensures no errors occur during operations and verifies
privileges are set correctly.

Adds multiple tests to verify the thread-safety of the Fetch method and the handling of privileges in concurrent operations. Tests include concurrent fetching, reading privileges, and processing with multiple goroutines. Ensures no errors occur during operations and verifies privileges are set correctly.
argoyle commented 2025-11-03 11:40:45 +00:00 (Migrated from gitlab.com)

restored source branch test-concurrent-fetch-read-privileges

restored source branch `test-concurrent-fetch-read-privileges`
argoyle commented 2025-11-03 11:45:39 +00:00 (Migrated from gitlab.com)

Codecov Report

All modified and coverable lines are covered by tests.
Project coverage is 94.35%. Comparing base (05c59fa) to head (4efc657).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #240   +/-   ##
=======================================
  Coverage   94.35%   94.35%           
=======================================
  Files           2        2           
  Lines         124      124           
=======================================
  Hits          117      117           
  Misses          7        7           

View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
## [Codecov](https://app.codecov.io/gl/unboundsoftware:shiny/authz_client/pull/240?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=gitlab&utm_content=comment&utm_campaign=pr+comments&utm_term=shiny) Report :white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: Project coverage is 94.35%. Comparing base ([`05c59fa`](https://app.codecov.io/gl/unboundsoftware:shiny/authz_client/commit/05c59fa4a5b1d8087ca5df0f03fa765628ac9bf8?dropdown=coverage&el=desc&utm_medium=referral&utm_source=gitlab&utm_content=comment&utm_campaign=pr+comments&utm_term=shiny)) to head ([`4efc657`](https://app.codecov.io/gl/unboundsoftware:shiny/authz_client/commit/4efc6572eef4992ef7afb170e234b6682d69ffcc?dropdown=coverage&el=desc&utm_medium=referral&utm_source=gitlab&utm_content=comment&utm_campaign=pr+comments&utm_term=shiny)). <details><summary>Additional details and impacted files</summary> ```diff @@ Coverage Diff @@ ## main #240 +/- ## ======================================= Coverage 94.35% 94.35% ======================================= Files 2 2 Lines 124 124 ======================================= Hits 117 117 Misses 7 7 ``` </details> [:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gl/unboundsoftware:shiny/authz_client/pull/240?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=gitlab&utm_content=comment&utm_campaign=pr+comments&utm_term=shiny). :loudspeaker: Have feedback on the report? [Share it here](https://gitlab.com/codecov-open-source/codecov-user-feedback/-/issues/4). <details><summary> :rocket: New features to boost your workflow: </summary> - :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems. </details>
argoyle commented 2025-11-03 11:46:02 +00:00 (Migrated from gitlab.com)

mentioned in commit a8ba5635e3

mentioned in commit a8ba5635e3680790cdd3f2b8a4bc664b25625915
argoyle (Migrated from gitlab.com) merged commit a8ba5635e3 into main 2025-11-03 11:46:02 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shiny/authz_client#243