Skip to content

Commit

Permalink
Add port number to MySQL address in config
Browse files Browse the repository at this point in the history
  • Loading branch information
shogo82148 committed Mar 11, 2024
1 parent 1b6a328 commit 3b45836
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apply_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package rdsmysql
import (
"context"
"database/sql"
"fmt"
"testing"

"github.com/aws/aws-sdk-go/aws"
Expand All @@ -19,7 +20,7 @@ func TestApply(t *testing.T) {

config := mysql.NewConfig()
config.User = testutils.User
config.Addr = testutils.Host
config.Addr = fmt.Sprintf("%s:%d", testutils.Host, 3306)
if err := Apply(config, awsSession); err != nil {
t.Fatal(err)
}
Expand Down

0 comments on commit 3b45836

Please sign in to comment.