Skip to content
Snippets Groups Projects

Resolve "Improve pipeline speed"

Merged Ghost User requested to merge 126-improve-pipeline-speed into develop
Compare and Show latest version
34 files
+ 628
1355
Compare changes
  • Side-by-side
  • Inline
Files
34
+ 10
6
@@ -39,8 +39,14 @@ func TestApiIntegration(t *testing.T) {
cliPnd := viper.GetString("CLI_PND")
cliSbi := viper.GetString("CLI_SBI")
cliPndUUID, err := uuid.Parse(cliPnd)
clisbiUUID, err := uuid.Parse(cliSbi)
suid, err := uuid.Parse(cliSbi)
if err != nil {
t.Error(err)
}
puid, err := uuid.Parse(cliPnd)
if err != nil {
t.Error(err)
}
opt := &tpb.TransportOption{
Address: testAddress,
@@ -50,13 +56,12 @@ func TestApiIntegration(t *testing.T) {
GnmiTransportOption: &tpb.GnmiTransportOption{},
},
}
if _, err := addDevice(
testAPIEndpoint,
"test-device",
opt,
clisbiUUID,
cliPndUUID,
suid,
puid,
); (err != nil) != tt.wantErr {
t.Errorf("gosdn cli add-device error = %v, wantErr %v", err, tt.wantErr)
return
@@ -66,7 +71,6 @@ func TestApiIntegration(t *testing.T) {
_, err = getDevice(
testAPIEndpoint,
cliPnd,
testPath,
did,
)
if (err != nil) != tt.wantErr {
Loading