From 2d7277a539bb3688ce7d2cd848971c0929aaef17 Mon Sep 17 00:00:00 2001 From: Stuart Douglas Date: Sun, 25 Aug 2024 07:22:27 +1000 Subject: [PATCH] chore: fix stack trace in tests (#2496) --- .../xyz/block/ftl/java/test/internal/TestModuleServer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jvm-runtime/ftl-runtime/test-framework/src/main/java/xyz/block/ftl/java/test/internal/TestModuleServer.java b/jvm-runtime/ftl-runtime/test-framework/src/main/java/xyz/block/ftl/java/test/internal/TestModuleServer.java index 3b6df063af..a3e408b046 100644 --- a/jvm-runtime/ftl-runtime/test-framework/src/main/java/xyz/block/ftl/java/test/internal/TestModuleServer.java +++ b/jvm-runtime/ftl-runtime/test-framework/src/main/java/xyz/block/ftl/java/test/internal/TestModuleServer.java @@ -12,7 +12,8 @@ public void ping(PingRequest request, StreamObserver responseObser @Override public void getModuleContext(ModuleContextRequest request, StreamObserver responseObserver) { - super.getModuleContext(request, responseObserver); + //TODO: add a way to test secrets and other module context values + responseObserver.onNext(ModuleContextResponse.newBuilder().build()); } @Override