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 {