Skip to content

Commit

Permalink
removing commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
mativm02 committed Jan 25, 2024
1 parent bb51e9f commit f27c763
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions storage/temporal_storage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit f27c763

Please sign in to comment.