From 1181262c044f6b8ed8ba32d5c60e95c9a4ade7d4 Mon Sep 17 00:00:00 2001 From: Alexey Yarmosh Date: Fri, 12 Apr 2024 15:18:28 +0200 Subject: [PATCH] fix: e2e docker --- test/e2e/cases/location-overrides.test.ts | 2 +- test/e2e/docker.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/test/e2e/cases/location-overrides.test.ts b/test/e2e/cases/location-overrides.test.ts index 2c1c32ce..76351e36 100644 --- a/test/e2e/cases/location-overrides.test.ts +++ b/test/e2e/cases/location-overrides.test.ts @@ -5,7 +5,7 @@ import { waitProbeInCity } from '../utils.js'; const LOCATION_OVERRIDES_TABLE = 'gp_location_overrides'; -describe('location overrides', () => { +describe.only('location overrides', () => { before(async function () { this.timeout(80000); diff --git a/test/e2e/docker.ts b/test/e2e/docker.ts index 1ba3d33a..5f971a18 100644 --- a/test/e2e/docker.ts +++ b/test/e2e/docker.ts @@ -43,6 +43,7 @@ class DockerManager { '80/tcp': [{ HostPort: '80' }], }, NetworkMode: networkMode, + ExtraHosts: [ 'host.docker.internal:host-gateway' ], }, }); @@ -70,6 +71,7 @@ class DockerManager { ], HostConfig: { NetworkMode: networkMode, + ExtraHosts: [ 'host.docker.internal:host-gateway' ], }, });