X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Fcontrol%2Fut_test.go;fp=pkg%2Fcontrol%2Fut_test.go;h=773ad2b73de41ce6358b924863f590ad7d06ad6e;hb=3f7becc8a1e15c5b69dfd95d86b9b7308b3e1c5e;hp=b1f98897f746e32a6f66b861338f578a46910780;hpb=443ae505fdf115a2f7dd0dedecf9bc1e62448e90;p=ric-plt%2Fsubmgr.git diff --git a/pkg/control/ut_test.go b/pkg/control/ut_test.go index b1f9889..773ad2b 100644 --- a/pkg/control/ut_test.go +++ b/pkg/control/ut_test.go @@ -154,6 +154,12 @@ func ut_test_init() { tent.Logger.Info("### submgr ctrl run ###") mainCtrl = createSubmgrControl(mainsrc, teststub.RmrRtgSvc{}) + //xapp-frame inits alarms when readycb is coming from xapps rmr + //alarm will make new rmr instance and overrides RMR_SEED_RT and RMR_RTG_SVC + //env variables. Re-create rt info. + rt.Disable() + rt.Enable() + //--------------------------------- // //---------------------------------