forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitdb973ff
committed
Fix some libpq_pipeline test problems
Test pipeline_abort was not checking that it got the rows it expected inone mode; make it do so. This doesn't fix the actual problem (no ideawhat that is, yet) but at least it should make it more obvious ratherthan being visible only as a difference in the trace output.While at it, fix other infelicities in the test:* I reversed the order of result vs. expected in like().* The output traces from -t are being put in the log dir, which meansthe buildfarm script uselessly captures them. Put them in a separatedir tmp_check/traces instead, to avoid cluttering the buildfarm results.* Test pipelined_insert was using too large a row count. Reduce that atad and add a filler column to make each insert a little bulkier, whilestill keeping enough that a buffer is filled and we have to switch mode.1 parentb12bd48 commitdb973ff
File tree
3 files changed
+32
-17
lines changed- src/test/modules/libpq_pipeline
- traces
- t
3 files changed
+32
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
| 49 | + | |
49 | 50 | | |
50 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
51 | 54 | | |
52 | | - | |
| 55 | + | |
53 | 56 | | |
| 57 | + | |
54 | 58 | | |
55 | 59 | | |
56 | 60 | | |
| |||
243 | 247 | | |
244 | 248 | | |
245 | 249 | | |
| 250 | + | |
246 | 251 | | |
247 | 252 | | |
248 | 253 | | |
| |||
441 | 446 | | |
442 | 447 | | |
443 | 448 | | |
| 449 | + | |
444 | 450 | | |
445 | 451 | | |
446 | 452 | | |
447 | 453 | | |
448 | 454 | | |
449 | 455 | | |
| 456 | + | |
450 | 457 | | |
451 | 458 | | |
452 | 459 | | |
| |||
463 | 470 | | |
464 | 471 | | |
465 | 472 | | |
| 473 | + | |
| 474 | + | |
466 | 475 | | |
467 | 476 | | |
468 | 477 | | |
| |||
534 | 543 | | |
535 | 544 | | |
536 | 545 | | |
537 | | - | |
538 | | - | |
| 546 | + | |
| 547 | + | |
539 | 548 | | |
| 549 | + | |
540 | 550 | | |
541 | 551 | | |
542 | 552 | | |
543 | 553 | | |
544 | 554 | | |
545 | | - | |
| 555 | + | |
| 556 | + | |
546 | 557 | | |
547 | 558 | | |
548 | 559 | | |
| |||
585 | 596 | | |
586 | 597 | | |
587 | 598 | | |
588 | | - | |
589 | | - | |
| 599 | + | |
| 600 | + | |
590 | 601 | | |
591 | 602 | | |
592 | 603 | | |
| |||
712 | 723 | | |
713 | 724 | | |
714 | 725 | | |
715 | | - | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
716 | 729 | | |
717 | 730 | | |
718 | | - | |
| 731 | + | |
719 | 732 | | |
720 | 733 | | |
721 | 734 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
29 | | - | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| |||
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
55 | | - | |
| 57 | + | |
56 | 58 | | |
57 | 59 | | |
58 | 60 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments
Comments
(0)