From 324bff1f82073446e1826f6dcfc8b03a0b2d6e03 Mon Sep 17 00:00:00 2001 From: Alfred Gedeon Date: Sat, 2 Dec 2023 10:29:25 -0800 Subject: [PATCH] fix --- servicetests/tests/ShadowUpdate/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/servicetests/tests/ShadowUpdate/main.cpp b/servicetests/tests/ShadowUpdate/main.cpp index d7b8faa6d..e761d59dc 100644 --- a/servicetests/tests/ShadowUpdate/main.cpp +++ b/servicetests/tests/ShadowUpdate/main.cpp @@ -223,7 +223,9 @@ int main(int argc, char *argv[]) // Disconnect if (client5->Stop() == true) { + fprintf(stderr, "waiting on future\n"); connectionClosedPromise.get_future().wait(); + fprintf(stderr, "future passed\n"); } } else @@ -235,6 +237,7 @@ int main(int argc, char *argv[]) connectionClosedPromise.get_future().wait(); } } + fprintf(stderr, "returning\n"); return 0; }