Code Review
/
ric-plt
/
e2mgr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
RIC-1044: Add array size checks
[ric-plt/e2mgr.git]
/
E2Manager
/
tests
/
utils.go
diff --git
a/E2Manager/tests/utils.go
b/E2Manager/tests/utils.go
index
894f554
..
edd3740
100644
(file)
--- a/
E2Manager/tests/utils.go
+++ b/
E2Manager/tests/utils.go
@@
-15,6
+15,9
@@
// limitations under the License.
//
// limitations under the License.
//
+// This source code is part of the near-RT RIC (RAN Intelligent Controller)
+// platform project (RICP).
+
package tests
import (
package tests
import (
@@
-28,7
+31,8
@@
import (
)
func InitLog(t *testing.T) *logger.Logger {
)
func InitLog(t *testing.T) *logger.Logger {
- log, err := logger.InitLogger(logger.InfoLevel)
+ InfoLevel := int8(1)
+ log, err := logger.InitLogger(InfoLevel)
if err != nil {
t.Errorf("#test.utils.InitLog - failed to initialize logger, error: %s", err)
}
if err != nil {
t.Errorf("#test.utils.InitLog - failed to initialize logger, error: %s", err)
}