Andres Freund <and...@anarazel.de> writes:
> Hm. Does the instability vanish if you switch s2_commit_prepared_a and s1_ff?

Like this?

diff --git a/src/test/isolation/specs/stats.spec 
b/src/test/isolation/specs/stats.spec
index be4ae1f4ff..70be29b207 100644
--- a/src/test/isolation/specs/stats.spec
+++ b/src/test/isolation/specs/stats.spec
@@ -562,8 +562,9 @@ permutation
   s1_table_insert_k1 # should be counted
   s1_table_update_k1 # dito
   s1_prepare_a
+  s1_ff
   s2_commit_prepared_a
-  s1_ff s2_ff
+  s2_ff
   s1_table_stats
 
 # S1 prepares, S1 aborts prepared

There's some fallout in the expected-file, of course, but this
does seem to fix it (20 consecutive successful runs now at
100/2).  Don't see why though ...

                        regards, tom lane


Reply via email to