fix unit test, too

This commit is contained in:
Felix Kunde 2021-12-15 10:32:50 +01:00
parent ff1ac1da4f
commit 7079d0ef80
1 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@ import (
"encoding/json"
"fmt"
"reflect"
"strings"
"context"
"testing"
@ -118,7 +119,7 @@ var (
UserKey: "username",
},
Url: fmt.Sprintf("jdbc:postgresql://%s.%s/foo?user=%s&ssl=true&sslmode=require", clusterName, namespace, fesUser),
SlotName: fmt.Sprintf("%s_%s_%s", constants.EventStreamSourceSlotPrefix, dbName, appId),
SlotName: fmt.Sprintf("%s_%s_%s", constants.EventStreamSourceSlotPrefix, dbName, strings.Replace(appId, "-", "_", -1)),
},
Schema: "data",
EventStreamTable: v1alpha1.EventStreamTable{