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

Commit3d52356

Browse files
committed
Suppress scary-looking log messages from async-notify isolation test.
I noticed that the async-notify test results in log messages like these:LOG: could not send data to client: Broken pipeFATAL: connection to client lostThis is because it unceremoniously disconnects a client session that isabout to have some NOTIFY messages delivered to it. Such log messagesduring a regression test might well cause people to go looking for aproblem that doesn't really exist (it did cause me to waste some time thatway). We can shut it up by adding an UNLISTEN command to session teardown.Patch HEAD only; this doesn't seem significant enough to back-patch.
1 parent8d8ff5f commit3d52356

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/test/isolation/specs/async-notify.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
session"listener"
66
step"listen"{LISTENa;}
77
step"begin"{ BEGIN;}
8-
teardown{ROLLBACK;}
8+
teardown{ROLLBACK;UNLISTEN *;}
99

1010
session"notifier"
1111
step"check"{SELECTpg_notification_queue_usage() >0ASnonzero;}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp