From b53b9a012f76c4fc883c3c245fddc29142706d0d Mon Sep 17 00:00:00 2001 From: alrex Date: Thu, 4 Feb 2021 17:39:24 -0800 Subject: [PATCH] Fix failing aiopg tests (#317) --- .github/workflows/test.yml | 2 +- .../tests/postgres/test_aiopg_functional.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c437b4abdc..a6fe990f0e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,7 +6,7 @@ on: - 'release/*' pull_request: env: - CORE_REPO_SHA: 09b010cfcc85e2aa07326e9204541b80a7dd52f0 + CORE_REPO_SHA: 48efb9737b037b7fb85ecafdf0f3dccd45d96af8 jobs: build: diff --git a/tests/opentelemetry-docker-tests/tests/postgres/test_aiopg_functional.py b/tests/opentelemetry-docker-tests/tests/postgres/test_aiopg_functional.py index 423151316a..53f49c3138 100644 --- a/tests/opentelemetry-docker-tests/tests/postgres/test_aiopg_functional.py +++ b/tests/opentelemetry-docker-tests/tests/postgres/test_aiopg_functional.py @@ -22,7 +22,7 @@ from opentelemetry.instrumentation.aiopg import AiopgInstrumentor 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_DB_NAME = os.getenv("POSTGRESQL_DB_NAME", "opentelemetry-tests") POSTGRES_PASSWORD = os.getenv("POSTGRESQL_PASSWORD", "testpassword")