forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit66d6086
committed
Speed up pg_regress server readiness testing.
Instead of connecting to the server with psql to check if it is readyfor running tests, this changes pg_regress to use PQPing which avoidsperforming system() calls which are expensive on some platforms, likeWindows. The frequency of tests is also increased in order to connectto the server faster.This patch is part of a larger effort to make testing consume fewerresources in order to be able to fit more tests into the availableCI system constraints.Reviewed-by: Andres Freund <andres@anarazel.de>Discussion:https://postgr.es/m/20230823192239.jxew5s3sjru63lio@awork3.anarazel.de1 parent387f9ed commit66d6086
File tree
7 files changed
+59
-32
lines changed- src
- interfaces/ecpg/test
- test
- isolation
- regress
7 files changed
+59
-32
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| 13 | + | |
13 | 14 |
| |
14 | 15 |
| |
15 | 16 |
| |
| |||
45 | 46 |
| |
46 | 47 |
| |
47 | 48 |
| |
48 |
| - | |
| 49 | + | |
49 | 50 |
| |
50 | 51 |
| |
51 | 52 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
18 | 18 |
| |
19 | 19 |
| |
20 | 20 |
| |
21 |
| - | |
| 21 | + | |
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
41 |
| - | |
| 41 | + | |
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
35 | 35 |
| |
36 | 36 |
| |
37 | 37 |
| |
38 |
| - | |
| 38 | + | |
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
39 |
| - | |
| 39 | + | |
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
43 |
| - | |
| 43 | + | |
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 |
| - | |
| 33 | + | |
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
|
Lines changed: 51 additions & 25 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
| 35 | + | |
35 | 36 |
| |
36 | 37 |
| |
37 | 38 |
| |
| |||
75 | 76 |
| |
76 | 77 |
| |
77 | 78 |
| |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
78 | 85 |
| |
79 | 86 |
| |
80 | 87 |
| |
| |||
107 | 114 |
| |
108 | 115 |
| |
109 | 116 |
| |
| 117 | + | |
110 | 118 |
| |
111 | 119 |
| |
112 | 120 |
| |
| |||
2107 | 2115 |
| |
2108 | 2116 |
| |
2109 | 2117 |
| |
2110 |
| - | |
2111 | 2118 |
| |
2112 | 2119 |
| |
2113 | 2120 |
| |
| |||
2296 | 2303 |
| |
2297 | 2304 |
| |
2298 | 2305 |
| |
| 2306 | + | |
| 2307 | + | |
| 2308 | + | |
2299 | 2309 |
| |
2300 | 2310 |
| |
2301 | 2311 |
| |
| |||
2436 | 2446 |
| |
2437 | 2447 |
| |
2438 | 2448 |
| |
2439 |
| - | |
| 2449 | + | |
| 2450 | + | |
2440 | 2451 |
| |
2441 |
| - | |
2442 |
| - | |
2443 |
| - | |
2444 |
| - | |
2445 |
| - | |
| 2452 | + | |
| 2453 | + | |
| 2454 | + | |
| 2455 | + | |
| 2456 | + | |
| 2457 | + | |
| 2458 | + | |
| 2459 | + | |
| 2460 | + | |
2446 | 2461 |
| |
| 2462 | + | |
| 2463 | + | |
| 2464 | + | |
2447 | 2465 |
| |
2448 | 2466 |
| |
2449 |
| - | |
2450 |
| - | |
2451 |
| - | |
2452 |
| - | |
| 2467 | + | |
2453 | 2468 |
| |
| 2469 | + | |
| 2470 | + | |
2454 | 2471 |
| |
2455 | 2472 |
| |
2456 | 2473 |
| |
| |||
2461 | 2478 |
| |
2462 | 2479 |
| |
2463 | 2480 |
| |
2464 |
| - | |
2465 |
| - | |
| 2481 | + | |
| 2482 | + | |
2466 | 2483 |
| |
2467 | 2484 |
| |
2468 | 2485 |
| |
| |||
2485 | 2502 |
| |
2486 | 2503 |
| |
2487 | 2504 |
| |
2488 |
| - | |
2489 |
| - | |
2490 |
| - | |
2491 |
| - | |
2492 |
| - | |
| 2505 | + | |
| 2506 | + | |
| 2507 | + | |
| 2508 | + | |
| 2509 | + | |
2493 | 2510 |
| |
2494 | 2511 |
| |
2495 | 2512 |
| |
| |||
2501 | 2518 |
| |
2502 | 2519 |
| |
2503 | 2520 |
| |
2504 |
| - | |
| 2521 | + | |
2505 | 2522 |
| |
2506 |
| - | |
2507 |
| - | |
2508 |
| - | |
| 2523 | + | |
| 2524 | + | |
| 2525 | + | |
| 2526 | + | |
| 2527 | + | |
| 2528 | + | |
| 2529 | + | |
| 2530 | + | |
| 2531 | + | |
| 2532 | + | |
| 2533 | + | |
2509 | 2534 |
| |
2510 | 2535 |
| |
| 2536 | + | |
| 2537 | + | |
| 2538 | + | |
2511 | 2539 |
| |
2512 | 2540 |
| |
2513 | 2541 |
| |
| |||
2520 | 2548 |
| |
2521 | 2549 |
| |
2522 | 2550 |
| |
2523 |
| - | |
2524 |
| - | |
2525 | 2551 |
| |
2526 |
| - | |
| 2552 | + | |
2527 | 2553 |
| |
2528 | 2554 |
| |
2529 | 2555 |
| |
|
0 commit comments
Comments
(0)