From 7346a5e3d520de592b912e10949ab557d4ebcec9 Mon Sep 17 00:00:00 2001 From: Shaunak Kashyap Date: Fri, 13 Oct 2023 11:24:52 -0700 Subject: [PATCH] Add assertion on error --- internal/pkg/agent/application/coordinator/coordinator_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/pkg/agent/application/coordinator/coordinator_test.go b/internal/pkg/agent/application/coordinator/coordinator_test.go index b00735bae9c..871669b226f 100644 --- a/internal/pkg/agent/application/coordinator/coordinator_test.go +++ b/internal/pkg/agent/application/coordinator/coordinator_test.go @@ -502,6 +502,7 @@ func TestCoordinator_UpgradeDetails(t *testing.T) { cfgMgr.Config(ctx, cfg) err = coord.Upgrade(ctx, "9.0.0", "", nil, true, false) + require.NoError(t, err) cancel() err = <-coordCh