X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pkg%2Fxapp%2Fxapp.go;fp=pkg%2Fxapp%2Fxapp.go;h=ad62e36b4d4c259078b9f33c310a55b2675386af;hb=40bc000e6cafe3a7eea32e4361268574050c12c4;hp=e8f47ef6202f4eea6205f951780a5ed98d7733bc;hpb=41e3b5845256a1ef3ae70fac702ee545ce5c2905;p=ric-plt%2Fxapp-frame.git diff --git a/pkg/xapp/xapp.go b/pkg/xapp/xapp.go index e8f47ef..ad62e36 100755 --- a/pkg/xapp/xapp.go +++ b/pkg/xapp/xapp.go @@ -29,11 +29,18 @@ import ( "strings" "sync/atomic" "syscall" + "testing" "time" "github.com/spf13/viper" ) +// For testing purpose go version 1.13 -> +var _ = func() bool { + testing.Init() + return true +}() + type ReadyCB func(interface{}) type ShutdownCB func()