Skip to content

Commit

Permalink
baremetalport
Browse files Browse the repository at this point in the history
  • Loading branch information
庄润梓 committed Jul 2, 2024
1 parent ab43e0b commit d9e58a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/e2e/greptimedbcluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ var _ = Describe("Basic test of greptimedb cluster", Ordered, func() {
Eventually(func() error {
cfg := mysql.Config{
Net: "tcp",
Addr: "127.0.0.1:4005",
Addr: "127.0.0.1:4002",
User: "",
Passwd: "",
DBName: "",
Expand Down Expand Up @@ -183,7 +183,7 @@ func deleteCluster() error {

func forwardRequest() {
for {
cmd := exec.Command("kubectl", "port-forward", "svc/mydb-frontend", "4002:4005")
cmd := exec.Command("kubectl", "port-forward", "svc/mydb-frontend", "4002:4002")
if err := cmd.Run(); err != nil {
klog.Errorf("Failed to port forward: %v", err)
return
Expand Down

0 comments on commit d9e58a7

Please sign in to comment.