From 31f86ec8fee67a8a7b585b9eeafd09ac24398551 Mon Sep 17 00:00:00 2001 From: Matt Toohey Date: Thu, 28 Nov 2024 12:51:07 +1100 Subject: [PATCH] =?UTF-8?q?maybe=20logging=20will=20help=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/dev/registry.go | 1 - internal/integration/harness.go | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/internal/dev/registry.go b/internal/dev/registry.go index 43cbbf1395..ed1fbce9ad 100644 --- a/internal/dev/registry.go +++ b/internal/dev/registry.go @@ -63,7 +63,6 @@ func SetupRegistry(ctx context.Context, image string, port int) error { } func WaitForPortReady(ctx context.Context, port int) error { - timeout := time.After(10 * time.Minute) retry := time.NewTicker(5 * time.Millisecond) for { diff --git a/internal/integration/harness.go b/internal/integration/harness.go index 2dde020f5b..8824acccff 100644 --- a/internal/integration/harness.go +++ b/internal/integration/harness.go @@ -226,8 +226,8 @@ func run(t *testing.T, actionsOrOptions ...ActionOrOption) { assert.True(t, ok) // Build FTL binary - logger := log.Configure(&logWriter{logger: t}, log.Config{Level: log.Debug}) - ctx := log.ContextWithLogger(context.Background(), logger) + // logger := log.Configure(&logWriter{logger: t}, log.Config{Level: log.Debug}) + ctx := log.ContextWithNewDefaultLogger(context.Background()) binDir := filepath.Join(rootDir, "build", "release") var kubeClient *kubernetes.Clientset