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

Commitc6cb62f

Browse files
committed
Stabilize results of insert-conflict-toast.spec.
This back-branch test script was later absorbed intoinsert-conflict-specconflict.spec, which required some stabilizationin commit741d7f1, so perhaps it's not surprising that it needs abit of love too.It's odd though that we hadn't seen it fail before now, becauseI thought that741d7f1 did not change isolationtester's timingbehavior for scripts without any annotation markers. In any case,this script is racy on its face, so add an annotation to force stablereporting order.Report:https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=piculet&dt=2021-06-24%2009%3A54%3A56Report:https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=petalura&dt=2021-06-24%2010%3A10%3A00
1 parente95f617 commitc6cb62f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎src/test/isolation/specs/insert-conflict-toast.spec

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,8 @@ step s3insert {
4848
INSERTINTOctoast (key,val)VALUES (1,ctoast_large_val())ONCONFLICTDONOTHING;
4949
}
5050

51-
permutations2inserts3inserts1commit
51+
# s1's commit will release s2 and s3 at the same time, so there's a
52+
# race condition as to which finishes first. Annotate the permutation
53+
# to always report s2 first.
54+
55+
permutations2inserts3insert(s2insert)s1commit

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp