From 375b3af7e8f71b84baafb9eb261697294ac5b9eb Mon Sep 17 00:00:00 2001 From: ms Date: Tue, 27 Jul 2021 07:26:57 +0200 Subject: [PATCH] Configure Sandbox before tests --- .../taler-wallet-cli/src/integrationtests/libeufin.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packages/taler-wallet-cli/src/integrationtests/libeufin.ts b/packages/taler-wallet-cli/src/integrationtests/libeufin.ts index eb501f57c..867de7068 100644 --- a/packages/taler-wallet-cli/src/integrationtests/libeufin.ts +++ b/packages/taler-wallet-cli/src/integrationtests/libeufin.ts @@ -201,6 +201,15 @@ export class LibeufinSandboxService implements LibeufinSandboxServiceInterface { } async start(): Promise { + const stdout = await sh( + this.globalTestState, + "libeufin-sandbox-config", + "libeufin-sandbox config localhost", + { + ...process.env, + LIBEUFIN_SANDBOX_DB_CONNECTION: this.sandboxConfig.databaseJdbcUri, + }, + ); this.sandboxProc = this.globalTestState.spawnService( "libeufin-sandbox", ["serve", "--port", `${this.sandboxConfig.httpPort}`],