Commit 0123fed 1 parent 4ae412b commit 0123fed Copy full SHA for 0123fed
File tree 1 file changed +11
-13
lines changed
1 file changed +11
-13
lines changed Original file line number Diff line number Diff line change @@ -66,24 +66,22 @@ func TestAnalyticalStore(t *testing.T) {
66
66
67
67
ts .BucketService = storage .NewBucketService (ts .BucketService , ab .storageEngine )
68
68
69
- go func () {
70
- <- ctx .Done ()
71
- ab .Close (t )
72
- }()
73
-
74
69
authCtx := icontext .SetAuthorizer (ctx , & influxdb.Authorization {
75
70
Permissions : influxdb .OperPermissions (),
76
71
})
77
72
78
73
return & servicetest.System {
79
- TaskControlService : svcStack ,
80
- TaskService : svcStack ,
81
- OrganizationService : ts .OrganizationService ,
82
- UserService : ts .UserService ,
83
- UserResourceMappingService : ts .UserResourceMappingService ,
84
- AuthorizationService : authSvc ,
85
- Ctx : authCtx ,
86
- }, cancelFunc
74
+ TaskControlService : svcStack ,
75
+ TaskService : svcStack ,
76
+ OrganizationService : ts .OrganizationService ,
77
+ UserService : ts .UserService ,
78
+ UserResourceMappingService : ts .UserResourceMappingService ,
79
+ AuthorizationService : authSvc ,
80
+ Ctx : authCtx ,
81
+ }, func () {
82
+ cancelFunc ()
83
+ ab .Close (t )
84
+ }
87
85
},
88
86
)
89
87
}
You can’t perform that action at this time.
0 commit comments