Skip to content
Snippets Groups Projects
Commit de1eb730 authored by Manuel Kieweg's avatar Manuel Kieweg
Browse files

add nolog to integration tests

parent b9cdef36
No related branches found
No related tags found
2 merge requests!126Resolve "Isolate Integration Tests",!90Develop
Pipeline #67478 passed
...@@ -24,6 +24,10 @@ var defaultPath = []string{"/system/config/hostname"} ...@@ -24,6 +24,10 @@ var defaultPath = []string{"/system/config/hostname"}
var opt *nucleus.GnmiTransportOptions var opt *nucleus.GnmiTransportOptions
func testSetupIntegration() { func testSetupIntegration() {
if os.Getenv("GOSDN_LOG") == "nolog" {
log.SetLevel(log.PanicLevel)
}
a := os.Getenv("GOSDN_TEST_ENDPOINT") a := os.Getenv("GOSDN_TEST_ENDPOINT")
if a != "" { if a != "" {
testAddress = a testAddress = a
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment