Skip to content

Commit

Permalink
Revert "pipe and cat"
Browse files Browse the repository at this point in the history
This reverts commit 73e8f28.
  • Loading branch information
enisdenjo committed Dec 18, 2024
1 parent e11b24e commit a227776
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
13 changes: 2 additions & 11 deletions e2e/self-hosting-hive/gateway.config.ts
Original file line number Diff line number Diff line change
@@ -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',
Expand Down
1 change: 0 additions & 1 deletion e2e/self-hosting-hive/self-hosting-hive.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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({
Expand Down

0 comments on commit a227776

Please sign in to comment.