Skip to content

Commit

Permalink
Resolving merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
urvisavla committed Jun 20, 2024
1 parent 0f7a987 commit b15ed0a
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions ingest/ledgerbackend/toml_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ package ledgerbackend

import (
"io/ioutil"
"os"
"path/filepath"
"strconv"
"testing"

"github.com/stretchr/testify/assert"
Expand Down Expand Up @@ -234,18 +232,6 @@ func TestCaptiveCoreTomlValidation(t *testing.T) {
}
}

func checkTestingAboveProtocol19() bool {
str := os.Getenv("HORIZON_INTEGRATION_TESTS_CORE_MAX_SUPPORTED_PROTOCOL")
if str == "" {
return false
}
version, err := strconv.ParseUint(str, 10, 32)
if err != nil {
return false
}
return uint32(version) > 19
}

func TestGenerateConfig(t *testing.T) {
for _, testCase := range []struct {
name string
Expand Down Expand Up @@ -426,13 +412,6 @@ func TestGenerateCoreConfigInMemory(t *testing.T) {
HistoryArchiveURLs: []string{"http://localhost:1170"},
Strict: false,
UseDB: false,
checkCoreVersion: func(coreBinaryPath string) coreVersion {
return coreVersion{
major: 21,
minor: 0,
ledgerProtocolVersion: 21,
}
},
}
captiveCoreToml, err = NewCaptiveCoreTomlFromFile(appendPath, params)
assert.NoError(t, err)
Expand Down

0 comments on commit b15ed0a

Please sign in to comment.