From 4ebeafef01ff21e7fe9ed74555eee01cca27015d Mon Sep 17 00:00:00 2001 From: enisdenjo Date: Wed, 18 Dec 2024 16:33:10 +0100 Subject: [PATCH] Revert "pipe and cat" This reverts commit 73e8f289bc262dbfde9954adc92939b5d828c836. --- .github/workflows/test.yml | 2 -- e2e/self-hosting-hive/gateway.config.ts | 13 ++----------- e2e/self-hosting-hive/self-hosting-hive.e2e.ts | 1 - 3 files changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6ca00b03..31666dd7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -183,5 +183,3 @@ jobs: timeout_minutes: 10 max_attempts: 2 command: yarn test:e2e - - name: cat self-hosting-hive gw.log - run: cat e2e/self-hosting-hive/gw.log diff --git a/e2e/self-hosting-hive/gateway.config.ts b/e2e/self-hosting-hive/gateway.config.ts index ba1c5a40..ce993dc6 100644 --- a/e2e/self-hosting-hive/gateway.config.ts +++ b/e2e/self-hosting-hive/gateway.config.ts @@ -1,20 +1,11 @@ import { defineConfig } from '@graphql-hive/gateway'; -import { boolEnv, Opts } from '@internal/testing'; +import { Opts } from '@internal/testing'; const opts = Opts(process.argv); const selfHostingHost = - process.env['E2E_GATEWAY_RUNNER'] === 'docker' - ? boolEnv('CI') - ? '172.17.0.1' - : 'host.docker.internal' - : 'localhost'; + process.env['E2E_GATEWAY_RUNNER'] === 'docker' ? '172.17.0.1' : 'localhost'; const selfHostingPort = opts.getServicePort('selfHostingHive'); -console.log({ - applicationUrl: `http://${selfHostingHost}:${selfHostingPort}`, - env: process.env, -}); - export const gatewayConfig = defineConfig({ reporting: { type: 'hive', diff --git a/e2e/self-hosting-hive/self-hosting-hive.e2e.ts b/e2e/self-hosting-hive/self-hosting-hive.e2e.ts index f05adf46..553d48e6 100644 --- a/e2e/self-hosting-hive/self-hosting-hive.e2e.ts +++ b/e2e/self-hosting-hive/self-hosting-hive.e2e.ts @@ -12,7 +12,6 @@ describe('Self Hosting Hive', () => { supergraph: await supergraph(), services: [selfHostingHive], args: [`--hive-registry-token=${TEST_TOKEN}`], - pipeLogs: 'gw.log', }); await expect( gw.execute({