diff --git a/test/integration/cmdIntegration_test.go b/test/integration/cmdIntegration_test.go index 5649a4449f69c780c61f65ff52dd77dc4f7cb4ab..0aefff4db74566a9dc411cc76de8c4965766570a 100644 --- a/test/integration/cmdIntegration_test.go +++ b/test/integration/cmdIntegration_test.go @@ -16,8 +16,8 @@ import ( const unreachable = "203.0.113.10:6030" -var testAddress = "141.100.70.171:6030" -var testAPIEndpoint = "http://141.100.70.171:8080/api" +var testAddress = "141.100.67.238:6030" +var testAPIEndpoint = "http://gosdn-latest.apps.ocp.fbi.h-da.de/api" var testUsername = "admin" var testPassword = "arista" var defaultPath = []string{"/system/config/hostname"} @@ -42,17 +42,17 @@ func testSetupIntegration() { api := os.Getenv("GOSDN_TEST_API_ENDPOINT") if api != "" { testAPIEndpoint = api - log.Infof("GOSDN_TEST_API_ENDPOINT set to %v", testAddress) + log.Infof("GOSDN_TEST_API_ENDPOINT set to %v", testAPIEndpoint) } u := os.Getenv("GOSDN_TEST_USER") if u != "" { testUsername = u - log.Infof("GOSDN_TEST_USER set to %v", testAddress) + log.Infof("GOSDN_TEST_USER set to %v", testUsername) } p := os.Getenv("GOSDN_TEST_PASSWORD") if p != "" { testPassword = p - log.Infof("GOSDN_TEST_PASSWORD set to %v", testAddress) + log.Infof("GOSDN_TEST_PASSWORD set to %v", testPassword) } gnmiMessages = map[string]pb.Message{ @@ -78,8 +78,8 @@ func testSetupIntegration() { opt = &nucleus.GnmiTransportOptions{ Config: gnmi.Config{ Addr: testAddress, - Username: "admin", - Password: "arista", + Username: testUsername, + Password: testPassword, Encoding: gpb.Encoding_JSON_IETF, }, RespChan: make(chan *gpb.SubscribeResponse),