From f27c763d249b2bd9edd3fd49c67187f4c25f5716 Mon Sep 17 00:00:00 2001 From: Matias <83959431+mativm02@users.noreply.github.com> Date: Thu, 25 Jan 2024 18:01:28 -0300 Subject: [PATCH] removing commented code --- storage/temporal_storage_test.go | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/storage/temporal_storage_test.go b/storage/temporal_storage_test.go index f47860b22..ce8627cbc 100644 --- a/storage/temporal_storage_test.go +++ b/storage/temporal_storage_test.go @@ -180,17 +180,6 @@ func TestTemporalStorageHandler_ensureConnection(t *testing.T) { assert.NoError(t, err, "Expected no error when reconnecting") assert.NotNil(t, connectorSingleton, "Expected connectorSingleton not to be nil after reconnecting") }) - - // This test timeouts because of the exponential backoff: - // t.Run("Connection failed after several attempts", func(t *testing.T) { - // connectorSingleton = nil - // conf["type"] = "invalid" - // r, err = NewTemporalStorageHandler(conf, true) - // assert.NoError(t, err, "Expected no error when creating new TemporalStorageHandler") - - // err = r.ensureConnection() - // assert.Error(t, err, "Expected error when reconnecting after connection failure") - // }) } func TestTemporalStorageHandler_SetKey(t *testing.T) {