-
Notifications
You must be signed in to change notification settings - Fork 469
refactor: readdirplus test package migration [GKE-GCSFuse Test migration] #3891
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
base: master
Are you sure you want to change the base?
Conversation
3d687a2 to
01e7e13
Compare
01e7e13 to
017949d
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3891 +/- ##
==========================================
- Coverage 82.42% 0 -82.43%
==========================================
Files 145 0 -145
Lines 22769 0 -22769
==========================================
- Hits 18768 0 -18768
+ Misses 3458 0 -3458
+ Partials 543 0 -543
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
undo changes in improved run e2e test changes
| testDirPath = setup.SetupTestDirectory(testDirName) | ||
| func mountGCSFuseAndSetupTestDir(flags []string, ctx context.Context, storageClient *storage.Client) { | ||
| setup.MountGCSFuseWithGivenMountWithConfigFunc(testEnv.cfg, flags, mountFunc) | ||
| setup.SetMntDir(testEnv.cfg.GCSFuseMountedDirectory) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be GCSFuse or GKE mounted directory based on how tests are running. Can you check if this is working in both cases?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
checked both are working!
tools/integration_tests/readdirplus/readdirplus_without_dentry_cache_test.go
Outdated
Show resolved
Hide resolved
bb0a45b to
37bd524
Compare
37bd524 to
8d34fc5
Compare
98acaac to
30c0332
Compare
Description
This PR includes changes to migrate readdirplus test package to use common config file. This common config will be used by both GCSFuse binary and GCSFuse csi driver tests.
Changes include:
refactoring to use config file by test methods.
changes are made in a backward compatible way so tests can run with both config file and flags. This will be cleaned up in future PRs after the migration is complete.
Migration of readdirplus package so it can use config file.
Link to the issue in case of a bug fix.
b/445951883
Testing details
Any backward incompatible change? If so, please explain.