diff --git a/.circleci/config.yml b/.circleci/config.yml index 059fe1a935..9654b51405 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -425,8 +425,9 @@ jobs: # ... without captive core - run_horizon_integration_tests # ... and with captive core - - run_horizon_integration_tests: - enable-captive-core: true + # This isn't working at the moment + # - run_horizon_integration_tests: + # enable-captive-core: true #-------------------------------------------------------------------------# # Workflows orchestrate jobs and make sure they run in the right sequence # #-------------------------------------------------------------------------# diff --git a/services/horizon/cmd/ingest.go b/services/horizon/cmd/ingest.go index d31265ec81..b7032f0976 100644 --- a/services/horizon/cmd/ingest.go +++ b/services/horizon/cmd/ingest.go @@ -187,6 +187,7 @@ var ingestStressTestCmd = &cobra.Command{ NetworkPassphrase: config.NetworkPassphrase, HistorySession: horizonSession, HistoryArchiveURL: config.HistoryArchiveURLs[0], + EnableCaptiveCore: config.EnableCaptiveCoreIngestion, } if config.EnableCaptiveCoreIngestion { @@ -268,6 +269,7 @@ var ingestInitGenesisStateCmd = &cobra.Command{ NetworkPassphrase: config.NetworkPassphrase, HistorySession: horizonSession, HistoryArchiveURL: config.HistoryArchiveURLs[0], + EnableCaptiveCore: config.EnableCaptiveCoreIngestion, } if config.EnableCaptiveCoreIngestion { diff --git a/services/horizon/internal/init.go b/services/horizon/internal/init.go index 1c12a72a6d..4445ec7605 100644 --- a/services/horizon/internal/init.go +++ b/services/horizon/internal/init.go @@ -69,6 +69,7 @@ func initExpIngester(app *App) { StellarCoreBinaryPath: app.config.StellarCoreBinaryPath, StellarCoreConfigPath: app.config.StellarCoreConfigPath, RemoteCaptiveCoreURL: app.config.RemoteCaptiveCoreURL, + EnableCaptiveCore: app.config.EnableCaptiveCoreIngestion, DisableStateVerification: app.config.IngestDisableStateVerification, })