From b45924a234638bfe87c920506a9f2ef968ab12be Mon Sep 17 00:00:00 2001 From: TheMenko Date: Mon, 1 Nov 2021 10:49:30 +0100 Subject: [PATCH] annotated repo_test --- node/shutdown_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/node/shutdown_test.go b/node/shutdown_test.go index 15e2af93e..58c79a34e 100644 --- a/node/shutdown_test.go +++ b/node/shutdown_test.go @@ -15,6 +15,7 @@ func TestMonitorShutdown(t *testing.T) { // Three shutdown handlers. var wg sync.WaitGroup wg.Add(3) + //stm: @NODE_SHUTDOWN_001 h := ShutdownHandler{ Component: "handler", StopFunc: func(_ context.Context) error { @@ -23,6 +24,7 @@ func TestMonitorShutdown(t *testing.T) { }, } + //stm: @NODE_SHUTDOWN_002 finishCh := MonitorShutdown(signalCh, h, h, h) // Nothing here after 10ms.