Skip to content

Commit dbbb04d

Browse files
committed
replace stderr stream to stdout stream in tests with internal logger
1 parent 27ef784 commit dbbb04d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

test/connection_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func TestConnection(t *testing.T) {
7777
trace.MatchDetails(`ydb\.(driver|discovery|retry|scheme).*`),
7878
ydb.WithNamespace("ydb"),
7979
ydb.WithOutWriter(os.Stdout),
80-
ydb.WithErrWriter(os.Stderr),
80+
ydb.WithErrWriter(os.Stdout),
8181
ydb.WithMinLevel(log.WARN),
8282
),
8383
ydb.WithUserAgent(userAgent),

test/discovery_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ func TestDiscovery(t *testing.T) {
6464
trace.MatchDetails(`ydb\.(driver|discovery).*`),
6565
ydb.WithNamespace("ydb"),
6666
ydb.WithOutWriter(os.Stdout),
67-
ydb.WithErrWriter(os.Stderr),
67+
ydb.WithErrWriter(os.Stdout),
6868
ydb.WithMinLevel(log.WARN),
6969
),
7070
ydb.WithUserAgent(userAgent),

test/ratelimiter_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func TestRatelimiter(t *testing.T) {
3939
trace.MatchDetails(`ydb\.(driver|discovery|retry|ratelimiter|coordination).*`),
4040
ydb.WithNamespace("ydb"),
4141
ydb.WithOutWriter(os.Stdout),
42-
ydb.WithErrWriter(os.Stderr),
42+
ydb.WithErrWriter(os.Stdout),
4343
ydb.WithMinLevel(log.TRACE),
4444
),
4545
)

test/scripting_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func TestScripting(t *testing.T) {
3939
trace.MatchDetails(`ydb\.(driver|discovery|retry|scheme).*`),
4040
ydb.WithNamespace("ydb"),
4141
ydb.WithOutWriter(os.Stdout),
42-
ydb.WithErrWriter(os.Stderr),
42+
ydb.WithErrWriter(os.Stdout),
4343
ydb.WithMinLevel(log.TRACE),
4444
),
4545
ydb.WithUserAgent("scripting"),

0 commit comments

Comments
 (0)