@@ -68,7 +68,7 @@ func TestGetFile(t *testing.T) {
6868 fs := newFileService (logr .Discard (), depStore , connTracker )
6969
7070 ctx := grpcContext .NewGrpcContext (t .Context (), grpcContext.GrpcInfo {
71- IPAddress : "127.0.0.1 " ,
71+ UUID : "1234567 " ,
7272 })
7373
7474 req := & pb.GetFileRequest {
@@ -121,7 +121,7 @@ func TestGetFile_InvalidRequest(t *testing.T) {
121121 fs := newFileService (logr .Discard (), depStore , connTracker )
122122
123123 ctx := grpcContext .NewGrpcContext (t .Context (), grpcContext.GrpcInfo {
124- IPAddress : "127.0.0.1 " ,
124+ UUID : "1234567 " ,
125125 })
126126
127127 req := & pb.GetFileRequest {
@@ -148,7 +148,7 @@ func TestGetFile_ConnectionNotFound(t *testing.T) {
148148 }
149149
150150 ctx := grpcContext .NewGrpcContext (t .Context (), grpcContext.GrpcInfo {
151- IPAddress : "127.0.0.1 " ,
151+ UUID : "1234567 " ,
152152 })
153153
154154 resp , err := fs .GetFile (ctx , req )
@@ -181,7 +181,7 @@ func TestGetFile_DeploymentNotFound(t *testing.T) {
181181 }
182182
183183 ctx := grpcContext .NewGrpcContext (t .Context (), grpcContext.GrpcInfo {
184- IPAddress : "127.0.0.1 " ,
184+ UUID : "1234567 " ,
185185 })
186186
187187 resp , err := fs .GetFile (ctx , req )
@@ -217,7 +217,7 @@ func TestGetFile_FileNotFound(t *testing.T) {
217217 }
218218
219219 ctx := grpcContext .NewGrpcContext (t .Context (), grpcContext.GrpcInfo {
220- IPAddress : "127.0.0.1 " ,
220+ UUID : "1234567 " ,
221221 })
222222
223223 resp , err := fs .GetFile (ctx , req )
@@ -264,7 +264,7 @@ func TestGetFileStream(t *testing.T) {
264264 fs := newFileService (logr .Discard (), depStore , connTracker )
265265
266266 ctx := grpcContext .NewGrpcContext (t .Context (), grpcContext.GrpcInfo {
267- IPAddress : "127.0.0.1 " ,
267+ UUID : "1234567 " ,
268268 })
269269
270270 req := & pb.GetFileRequest {
@@ -324,7 +324,7 @@ func TestGetFileStream_InvalidRequest(t *testing.T) {
324324 fs := newFileService (logr .Discard (), depStore , connTracker )
325325
326326 ctx := grpcContext .NewGrpcContext (t .Context (), grpcContext.GrpcInfo {
327- IPAddress : "127.0.0.1 " ,
327+ UUID : "1234567 " ,
328328 })
329329
330330 // no filemeta
@@ -397,7 +397,7 @@ func TestUpdateOverview(t *testing.T) {
397397 }
398398
399399 ctx := grpcContext .NewGrpcContext (t .Context (), grpcContext.GrpcInfo {
400- IPAddress : "127.0.0.1 " ,
400+ UUID : "1234567 " ,
401401 })
402402
403403 fs := newFileService (logr .Discard (), depStore , connTracker )
@@ -487,7 +487,7 @@ func TestUpdateOverview_ConnectionNotFound(t *testing.T) {
487487 }
488488
489489 ctx := grpcContext .NewGrpcContext (t .Context (), grpcContext.GrpcInfo {
490- IPAddress : "127.0.0.1 " ,
490+ UUID : "1234567 " ,
491491 })
492492
493493 resp , err := fs .UpdateOverview (ctx , req )
@@ -526,7 +526,7 @@ func TestUpdateOverview_DeploymentNotFound(t *testing.T) {
526526 }
527527
528528 ctx := grpcContext .NewGrpcContext (t .Context (), grpcContext.GrpcInfo {
529- IPAddress : "127.0.0.1 " ,
529+ UUID : "1234567 " ,
530530 })
531531
532532 resp , err := fs .UpdateOverview (ctx , req )
0 commit comments