File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -121,6 +121,7 @@ func TestMountpointS3Mount_NodeServer_Positive(t *testing.T) {
121121 s3Mounter := & MountpointS3Mounter {
122122 MounterUtils : mounterUtils .NewFakeMounterUtilsImpl (mounterUtils.FakeMounterUtilsFuncStruct {
123123 FuseMountFn : func (path , comm string , args []string ) error {
124+ // Mock successful mount
124125 return nil
125126 },
126127 }),
@@ -158,7 +159,12 @@ func TestMountpointS3Mount_NodeServer_WithEnvMounter(t *testing.T) {
158159 }
159160
160161 s3Mounter := & MountpointS3Mounter {
161- MounterUtils : mounterUtils .NewFakeMounterUtilsImpl (mounterUtils.FakeMounterUtilsFuncStruct {}),
162+ MounterUtils : mounterUtils .NewFakeMounterUtilsImpl (mounterUtils.FakeMounterUtilsFuncStruct {
163+ FuseMountFn : func (path , comm string , args []string ) error {
164+ // Mock successful mount with env vars
165+ return nil
166+ },
167+ }),
162168 BucketName : "test-bucket" ,
163169 EndPoint : "https://s3.us-east.cloud-object-storage.appdomain.cloud" ,
164170 LocConstraint : "us-east" ,
You can’t perform that action at this time.
0 commit comments