From 37007e624b67fce04c4ebcec2b5ff46d584128e0 Mon Sep 17 00:00:00 2001 From: Lakshman Date: Mon, 29 Jul 2024 14:11:49 -0600 Subject: [PATCH] SayHello debug prints Signed-off-by: Lakshman --- tools/invoker/client.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/invoker/client.go b/tools/invoker/client.go index 2233212aa..a2262e5bb 100644 --- a/tools/invoker/client.go +++ b/tools/invoker/client.go @@ -218,8 +218,11 @@ func SayHello(address, workflowID string) { } log.Debugf("In the if funcdur block after inner if\n") } + log.Debugf("In the else block after if funcdur\n") atomic.AddInt64(&completed, 1) + log.Debugf("In the else block after atomic\n") } + log.Debugf("In SayHello after else\n") } func invokeEventingFunction(endpoint *endpoint.Endpoint) { @@ -236,6 +239,7 @@ func invokeServingFunction(endpoint *endpoint.Endpoint) { log.Debug("Invoking: ", address) log.Debugf("In invokeServingFunction before SayHello\n") SayHello(address, workflowIDs[endpoint]) + log.Debugf("In invokeServingFunction after SayHello\n") } // LatencySlice is a thread-safe slice to hold a slice of latency measurements.