mirror of
https://github.com/open-telemetry/opentelemetry-python-contrib.git
synced 2025-07-31 14:11:50 +08:00
Fix failing aiopg tests (#317)
This commit is contained in:
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -6,7 +6,7 @@ on:
|
|||||||
- 'release/*'
|
- 'release/*'
|
||||||
pull_request:
|
pull_request:
|
||||||
env:
|
env:
|
||||||
CORE_REPO_SHA: 09b010cfcc85e2aa07326e9204541b80a7dd52f0
|
CORE_REPO_SHA: 48efb9737b037b7fb85ecafdf0f3dccd45d96af8
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -22,7 +22,7 @@ from opentelemetry import trace as trace_api
|
|||||||
from opentelemetry.instrumentation.aiopg import AiopgInstrumentor
|
from opentelemetry.instrumentation.aiopg import AiopgInstrumentor
|
||||||
from opentelemetry.test.test_base import TestBase
|
from opentelemetry.test.test_base import TestBase
|
||||||
|
|
||||||
POSTGRES_HOST = os.getenv("POSTGRESQL_HOST", "localhost")
|
POSTGRES_HOST = os.getenv("POSTGRESQL_HOST", "127.0.0.1")
|
||||||
POSTGRES_PORT = int(os.getenv("POSTGRESQL_PORT", "5432"))
|
POSTGRES_PORT = int(os.getenv("POSTGRESQL_PORT", "5432"))
|
||||||
POSTGRES_DB_NAME = os.getenv("POSTGRESQL_DB_NAME", "opentelemetry-tests")
|
POSTGRES_DB_NAME = os.getenv("POSTGRESQL_DB_NAME", "opentelemetry-tests")
|
||||||
POSTGRES_PASSWORD = os.getenv("POSTGRESQL_PASSWORD", "testpassword")
|
POSTGRES_PASSWORD = os.getenv("POSTGRESQL_PASSWORD", "testpassword")
|
||||||
|
Reference in New Issue
Block a user