From 84be729d97b0d5d1ad2704b6fab4ea8d9d9000a0 Mon Sep 17 00:00:00 2001 From: Denis Arh Date: Mon, 23 Sep 2019 19:30:18 +0200 Subject: [PATCH] Fix integration test after perm mutex bugfix --- internal/permissions/service_alt.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/internal/permissions/service_alt.go b/internal/permissions/service_alt.go index 2c8def52f..711fd8bb4 100644 --- a/internal/permissions/service_alt.go +++ b/internal/permissions/service_alt.go @@ -4,6 +4,7 @@ import ( "context" "fmt" "strings" + "sync" ) type ( @@ -68,6 +69,8 @@ func (svc *TestService) String() (out string) { func NewTestService() *TestService { return &TestService{ - service: service{}, + service: service{ + l: &sync.Mutex{}, + }, } }