Skip to content

Commit

Permalink
Fix migration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
2opremio committed Nov 19, 2024
1 parent 4f79508 commit 245b5db
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
# Note: Please keep the image pinned to an immutable tag matching the Captive Core version.
# This avoids implicit updates which break compatibility between
# the Core container and captive core.
image: ${CORE_IMAGE:-stellar/stellar-core:21.1.0-1909.rc1.b3aeb14cc.focal}
image: ${CORE_IMAGE:-stellar/stellar-core:22.0.0-2138.721fd0a65.focal}
depends_on:
- core-postgres
environment:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -342,9 +342,10 @@ func (i *Test) waitForRPC() {

func (i *Test) generateCaptiveCoreCfgForContainer() {
getOldVersionCaptiveCoreConfigVersion := func(dir string, filename string) ([]byte, error) {
cmd := exec.Command("git", "show", fmt.Sprintf("v%s:./%s/%s", i.rpcContainerVersion, dir, filename))
cmd.Dir = GetCurrentDirectory()
return cmd.Output()
// TODO: to be removed once we go over the stellar-rpc renaming
cmd := exec.Command("git", "show", fmt.Sprintf("v%s:./soroban-rpc/internal/integrationtest/infrastructure/%s/%s", i.rpcContainerVersion, dir, filename))
cmd.Dir = GetCurrentDirectory() + "/../../../../"
return cmd.CombinedOutput()
}

// Get old version of captive-core-integration-tests.cfg.tmpl
Expand Down

0 comments on commit 245b5db

Please sign in to comment.