Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc256df3

Browse files
committed
add note
1 parentde7e7d9 commitc256df3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

‎coderd/database/awsrdsiam/driver_test.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import (
55
"os"
66
"testing"
77

8-
"github.com/aws/aws-sdk-go-v2/config"
98
"github.com/stretchr/testify/require"
109

1110
"cdr.dev/slog/sloggers/slogtest"
@@ -17,10 +16,10 @@ import (
1716

1817
funcTestDriver(t*testing.T) {
1918
t.Parallel()
20-
cfg,err:=config.LoadDefaultConfig(context.Background())
21-
require.NoError(t,err)
22-
t.Logf("%#v",cfg)
2319
// Be sure to set AWS_DEFAULT_REGION to the database region as well.
20+
// Example:
21+
// export AWS_DEFAULT_REGION=us-east-2;
22+
// export DBAWSIAMRDS_TEST_URL="postgres://user@host:5432/dbname";
2423
url:=os.Getenv("DBAWSIAMRDS_TEST_URL")
2524
ifurl=="" {
2625
t.Skip()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp