File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed
pkg/blobfuse-proxy/server Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 21
21
- name : Run unit test
22
22
run : |
23
23
export PATH=$PATH:$HOME/.local/bin
24
+ wget https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb
25
+ sudo dpkg -i packages-microsoft-prod.deb
26
+ sudo apt-get update
27
+ sudo apt-get install blobfuse
24
28
make verify
25
29
26
30
- name : Run build test
Original file line number Diff line number Diff line change @@ -230,7 +230,6 @@ github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zV
230
230
github.com/gogo/protobuf v1.3.1 h1:DqDEcV5aeaTmdFBePNpYsp3FlcVH/2ISVVM9Qf8PSls =
231
231
github.com/gogo/protobuf v1.3.1 /go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o =
232
232
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 /go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k =
233
- github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58 =
234
233
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b /go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q =
235
234
github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903 /go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc =
236
235
github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef /go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc =
@@ -522,7 +521,6 @@ github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXf
522
521
github.com/stretchr/testify v1.3.0 /go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI =
523
522
github.com/stretchr/testify v1.4.0 /go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4 =
524
523
github.com/stretchr/testify v1.5.1 /go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA =
525
- github.com/stretchr/testify v1.6.1 h1:hDPOHmpOpP40lSULcqw7IrRb/u7w6RpDC9399XyoNd0 =
526
524
github.com/stretchr/testify v1.6.1 /go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg =
527
525
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY =
528
526
github.com/stretchr/testify v1.7.0 /go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg =
Original file line number Diff line number Diff line change @@ -50,8 +50,8 @@ func TestServerMountAzureBlob(t *testing.T) {
50
50
51
51
mountServer := NewMountServiceServer ()
52
52
req := mount_azure_blob.MountAzureBlobRequest {
53
- MountArgs : "--hello" ,
54
- AuthEnv : [] string { "helloworld" } ,
53
+ MountArgs : tc . args ,
54
+ AuthEnv : tc . authEnv ,
55
55
}
56
56
res , err := mountServer .MountAzureBlob (context .Background (), & req )
57
57
if tc .code == codes .OK {
@@ -60,9 +60,6 @@ func TestServerMountAzureBlob(t *testing.T) {
60
60
} else {
61
61
require .Error (t , err )
62
62
require .NotNil (t , res )
63
- // st, ok := status.FromError(err)
64
- // require.True(t, ok)
65
- // require.Equal(t, tc.code, st.Code())
66
63
}
67
64
})
68
65
}
You can’t perform that action at this time.
0 commit comments