From f6e82e6a00faa3be7e16b01f6179856952ccdbc2 Mon Sep 17 00:00:00 2001 From: Ian Suvak Date: Fri, 16 Aug 2024 14:51:34 -0400 Subject: [PATCH] lint fixes --- tests/e2e_test.go | 3 +-- tests/utils/utils.go | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/e2e_test.go b/tests/e2e_test.go index b34a15ec..c569ee72 100644 --- a/tests/e2e_test.go +++ b/tests/e2e_test.go @@ -38,7 +38,7 @@ func TestE2E(t *testing.T) { // In case of a panic we need to recover to ensure the Ginkgo cleanup is done defer func() { if r := recover(); r != nil { - fmt.Sprintf("Panic caught: %v", r) + log.Error("Panic caught: ", "panic", r) cleanup() os.Exit(1) } @@ -59,7 +59,6 @@ func TestE2E(t *testing.T) { RegisterFailHandler(ginkgo.Fail) ginkgo.RunSpecs(t, "Relayer e2e test") - } // Define the Relayer before and after suite functions. diff --git a/tests/utils/utils.go b/tests/utils/utils.go index 91813df4..3dc7dbc8 100644 --- a/tests/utils/utils.go +++ b/tests/utils/utils.go @@ -84,7 +84,6 @@ func RunSignatureAggregatorExecutable(ctx context.Context, configPath string) (c aggregatorCancel() <-aggregatorCtx.Done() }, readyChan - } func ReadHexTextFile(filename string) string {