Debian Codegraph @

src/test/isolation/expected/timeouts.out

raw
1 Parsed test spec with 2 sessions
2
3 starting permutation: rdtbl sto locktbl
4 step rdtbl: SELECT * FROM accounts;
5 accountid|balance
6 ---------+-------
7 checking | 600
8 savings | 600
9 (2 rows)
10
11 step sto: SET statement_timeout = '10ms';
12 step locktbl: LOCK TABLE accounts; <waiting ...>
13 step locktbl: <... completed>
14 ERROR: canceling statement due to statement timeout
15
16 starting permutation: rdtbl lto locktbl
17 step rdtbl: SELECT * FROM accounts;
18 accountid|balance
19 ---------+-------
20 checking | 600
21 savings | 600
22 (2 rows)
23
24 step lto: SET lock_timeout = '10ms';
25 step locktbl: LOCK TABLE accounts; <waiting ...>
26 step locktbl: <... completed>
27 ERROR: canceling statement due to lock timeout
28
29 starting permutation: rdtbl lsto locktbl
30 step rdtbl: SELECT * FROM accounts;
31 accountid|balance
32 ---------+-------
33 checking | 600
34 savings | 600
35 (2 rows)
36
37 step lsto: SET lock_timeout = '10ms'; SET statement_timeout = '10s';
38 step locktbl: LOCK TABLE accounts; <waiting ...>
39 step locktbl: <... completed>
40 ERROR: canceling statement due to lock timeout
41
42 starting permutation: rdtbl slto locktbl
43 step rdtbl: SELECT * FROM accounts;
44 accountid|balance
45 ---------+-------
46 checking | 600
47 savings | 600
48 (2 rows)
49
50 step slto: SET lock_timeout = '10s'; SET statement_timeout = '10ms';
51 step locktbl: LOCK TABLE accounts; <waiting ...>
52 step locktbl: <... completed>
53 ERROR: canceling statement due to statement timeout
54
55 starting permutation: wrtbl sto update
56 step wrtbl: UPDATE accounts SET balance = balance + 100;
57 step sto: SET statement_timeout = '10ms';
58 step update: DELETE FROM accounts WHERE accountid = 'checking'; <waiting ...>
59 step update: <... completed>
60 ERROR: canceling statement due to statement timeout
61
62 starting permutation: wrtbl lto update
63 step wrtbl: UPDATE accounts SET balance = balance + 100;
64 step lto: SET lock_timeout = '10ms';
65 step update: DELETE FROM accounts WHERE accountid = 'checking'; <waiting ...>
66 step update: <... completed>
67 ERROR: canceling statement due to lock timeout
68
69 starting permutation: wrtbl lsto update
70 step wrtbl: UPDATE accounts SET balance = balance + 100;
71 step lsto: SET lock_timeout = '10ms'; SET statement_timeout = '10s';
72 step update: DELETE FROM accounts WHERE accountid = 'checking'; <waiting ...>
73 step update: <... completed>
74 ERROR: canceling statement due to lock timeout
75
76 starting permutation: wrtbl slto update
77 step wrtbl: UPDATE accounts SET balance = balance + 100;
78 step slto: SET lock_timeout = '10s'; SET statement_timeout = '10ms';
79 step update: DELETE FROM accounts WHERE accountid = 'checking'; <waiting ...>
80 step update: <... completed>
81 ERROR: canceling statement due to statement timeout