Commit b531086
committed
fix: add PostgreSQL dependencies for psycopg_pool tests
- Add DOCKER_DEPS and POSTGRES_* environment variables to psycopg_pool.sh
to match psycopg.sh pattern and ensure postgres service starts in CI
- Update psycopg_pool_tests.py to use environment-based connection info
and skip when PostgreSQL is not configured
- Use SPAN constant instead of string literal
- Add stronger assertions for connect and query spans
Signed-off-by: SaJH <wogur981208@gmail.com>1 parent e67babb commit b531086
File tree
2 files changed
+35
-7
lines changed- tests
- instrumentation
- scripts/envs
2 files changed
+35
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
40 | 61 | | |
| 62 | + | |
41 | 63 | | |
42 | 64 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
| 65 | + | |
47 | 66 | | |
48 | 67 | | |
49 | 68 | | |
| |||
59 | 78 | | |
60 | 79 | | |
61 | 80 | | |
62 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
63 | 85 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
0 commit comments