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

Rerun SaaS tests on failure #5137

Merged
merged 1 commit into from
Jul 29, 2024
Merged

Rerun SaaS tests on failure #5137

merged 1 commit into from
Jul 29, 2024

Conversation

galvana
Copy link
Contributor

@galvana galvana commented Jul 29, 2024

Description Of Changes

Adding the pytest-rerunfailures plugin to dev-requirements.txt. This plugin introduces a --reruns flag that allows us to rerun failed tests up to n times before considering them a failure. We've implemented this to mitigate false positives that frequently occur due to data in the third-party APIs we're integrating with not settling in time for our tests.

Code Changes

  • Updated the nox -s "pytest(ops-saas)" command to use --reruns 3

Steps to Confirm

  • Verify the External-SaaS-Connectors backend check passes in the CI pipeline

Pre-Merge Checklist

  • All CI Pipelines Succeeded
  • Issue Requirements are Met
  • Update CHANGELOG.md

Copy link

vercel bot commented Jul 29, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
fides-plus-nightly ⬜️ Ignored (Inspect) Jul 29, 2024 5:01pm

@galvana galvana added the run unsafe ci checks Runs fideops-related CI checks that require sensitive credentials label Jul 29, 2024
@galvana galvana marked this pull request as ready for review July 29, 2024 17:09
@galvana galvana requested a review from gilluminate July 29, 2024 17:09
Copy link

cypress bot commented Jul 29, 2024



Test summary

4 0 0 0


Run details

Project fides
Status Passed
Commit 228055e ℹ️
Started Jul 29, 2024 5:12 PM
Ended Jul 29, 2024 5:13 PM
Duration 00:34 💡
OS Linux Ubuntu -
Browser Electron 106

View run in Cypress Cloud ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Cloud

Copy link

codecov bot commented Jul 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.56%. Comparing base (bf527dd) to head (43523b8).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5137   +/-   ##
=======================================
  Coverage   86.56%   86.56%           
=======================================
  Files         357      357           
  Lines       22354    22354           
  Branches     2957     2957           
=======================================
  Hits        19351    19351           
  Misses       2480     2480           
  Partials      523      523           

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

Copy link
Contributor

@gilluminate gilluminate left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excited to see this in action

@galvana galvana merged commit 1ff4d8c into main Jul 29, 2024
45 checks passed
@galvana galvana deleted the rerun-external-saas-test branch July 29, 2024 21:58
Copy link

cypress bot commented Jul 29, 2024



Test summary

4 0 0 0


Run details

Project fides
Status Passed
Commit 1ff4d8c
Started Jul 29, 2024 10:11 PM
Ended Jul 29, 2024 10:12 PM
Duration 00:36 💡
OS Linux Ubuntu -
Browser Electron 106

View run in Cypress Cloud ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
run unsafe ci checks Runs fideops-related CI checks that require sensitive credentials
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants