From: aravind.est Date: Wed, 2 Oct 2024 15:46:26 +0000 (+0100) Subject: Fix servicemanager sonar X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=ea09c077f9ead301915d9a8b4b9493b0d8052ac0;p=nonrtric%2Fplt%2Fsme.git Fix servicemanager sonar This fixes servicemanager sonar ci failure. Issue-ID: NONRTRIC-1033 Change-Id: I0fb50d8479a0f11f9330ae5e4c4acc30b2c31501 Signed-off-by: aravind.est --- diff --git a/servicemanager/build-servicemanager-ubuntu.sh b/servicemanager/build-servicemanager-ubuntu.sh index bcc6481..6927c5b 100755 --- a/servicemanager/build-servicemanager-ubuntu.sh +++ b/servicemanager/build-servicemanager-ubuntu.sh @@ -29,7 +29,7 @@ cd servicemanager/ # Get the go coverage tool helper go install github.com/ory/go-acc@v0.2.8 -go get github.com/stretchr/testify/mock@v1.7.1 +go get github.com/stretchr/testify/mock@v1.8.1 go-acc ./... --ignore mockkong,common,discoverserviceapi,invokermanagementapi,publishserviceapi,providermanagementapi sed -i 's/oransc\.org\/nonrtric\/servicemanager/servicemanager/' coverage.txt