Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
庄润梓 committed Jun 28, 2024
1 parent 61b60ea commit 6bc0b94
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", func() {
Eventually(func() error {
cfg := mysql.Config{
Net: "tcp",
Addr: "127.0.0.1:4002",
Addr: "127.0.0.1:4003",
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:4002")
cmd := exec.Command("kubectl", "port-forward", "svc/mydb-frontend", "4003:4003")
if err := cmd.Run(); err != nil {
klog.Errorf("Failed to port forward: %v", err)
return
Expand Down

0 comments on commit 6bc0b94

Please sign in to comment.