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

Add Integration Tests for Write Failure Improvements #2845

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

vipnydav
Copy link
Member

@vipnydav vipnydav commented Dec 30, 2024

Description

This PR includes Integration tests for Write Failure Experience for the following scenarios:

  1. Syncing Local Inode that is clobbered remotely.
  2. Reading from a file that is clobbered remotely.
  3. Syncing to a file that has been clobbered remotely.
  4. Writing to a file that has been clobbered remotely.
  5. Syncing a file that has been deleted.
  6. Writing to a file that has been deleted
  7. Syncing a file that has been renamed.
  8. Writing to a file that has been renamed.

Link to the issue in case of a bug fix.

https://b.corp.google.com/issues/365702002
https://b.corp.google.com/issues/365702723

Testing details

  1. Manual - Done
  2. Unit tests - NA
  3. Integration tests - Automated

@vipnydav vipnydav added the execute-integration-tests Run only integration tests label Dec 30, 2024
@vipnydav vipnydav requested review from Tulsishah and a team as code owners December 30, 2024 05:19
@vipnydav vipnydav requested a review from ashmeenkaur December 30, 2024 05:19
@kislaykishore kislaykishore requested review from a team, BrennaEpp, gargnitingoogle and tritone and removed request for a team, BrennaEpp and gargnitingoogle December 30, 2024 05:20
Copy link

codecov bot commented Dec 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.11%. Comparing base (3946230) to head (95f065c).
Report is 14 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2845      +/-   ##
==========================================
+ Coverage   76.05%   76.11%   +0.06%     
==========================================
  Files         118      118              
  Lines       16456    16557     +101     
==========================================
+ Hits        12515    12603      +88     
- Misses       3412     3423      +11     
- Partials      529      531       +2     
Flag Coverage Δ
unittests 76.11% <ø> (+0.06%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Copy link
Collaborator

@ashmeenkaur ashmeenkaur left a comment

Choose a reason for hiding this comment

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

few minor comments, LGTM otherwise

Copy link
Collaborator

@ashmeenkaur ashmeenkaur left a comment

Choose a reason for hiding this comment

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

add this new test package to KOKORO scripts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
execute-integration-tests Run only integration tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants