Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Test corner_cases fails due to timing issues. #36

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ziva777 opened this issue Nov 8, 2021 · 0 comments
Closed

Test corner_cases fails due to timing issues. #36

ziva777 opened this issue Nov 8, 2021 · 0 comments

Comments

@ziva777
Copy link

ziva777 commented Nov 8, 2021

On "slow" runs we can get something like this:

test corner_cases                 ... FAILED     8738 ms

======================
 1 of 1 tests failed. 
======================

The differences that caused some tests to fail can be viewed in the
file "/bf/ENT_master/pgsql.build/contrib/pg_query_state/isolation_output/regression.diffs".  A copy of the test summary that you see
above is saved in the file "/bf/ENT_master/pgsql.build/contrib/pg_query_state/isolation_output/regression.out".

make[1]: *** [Makefile:35: installcheck] Ошибка 1
make[1]: выход из каталога «/bf/ENT_master/pgsql.build/contrib/pg_query_state»
make: *** [Makefile:116: installcheck-pg_query_state-recurse] Ошибка 2


================= pgsql.build/contrib/pg_query_state/isolation_output/regression.diffs ===================
diff -U3 /bf/ENT_master/pgsql.build/contrib/pg_query_state/expected/corner_cases.out /bf/ENT_master/pgsql.build/contrib/pg_query_state/isolation_output/results/corner_cases.out
--- /bf/ENT_master/pgsql.build/contrib/pg_query_state/expected/corner_cases.out	2021-11-05 04:05:56.529952097 +0300
+++ /bf/ENT_master/pgsql.build/contrib/pg_query_state/isolation_output/results/corner_cases.out	2021-11-05 06:53:58.446478561 +0300
@@ -66,7 +66,8 @@
 (1 row)
 
 s2: INFO:  state of backend is idle
-step s2_pg_qs_counterpart: select pg_query_state(counterpart_pid(0));
+step s2_pg_qs_counterpart: select pg_query_state(counterpart_pid(0)); <waiting ...>
+step s2_pg_qs_counterpart: <... completed>
 pg_query_state
 --------------
 (0 rows)```
ziva777 pushed a commit that referenced this issue Nov 8, 2021
ziva777 pushed a commit that referenced this issue Nov 8, 2021
Also fix alternative output.

tags: pg_query_state
daniel-95 added a commit that referenced this issue Nov 8, 2021
Issue #36: fix script output varying due to timing.
Looked through the pg_isolation_regress sources, output seems to match these changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants