diff --git a/packages/cactus-test-tooling/src/main/typescript/quorum/quorum-test-ledger.ts b/packages/cactus-test-tooling/src/main/typescript/quorum/quorum-test-ledger.ts index 90d75f9d82..2afba6b35d 100644 --- a/packages/cactus-test-tooling/src/main/typescript/quorum/quorum-test-ledger.ts +++ b/packages/cactus-test-tooling/src/main/typescript/quorum/quorum-test-ledger.ts @@ -171,7 +171,7 @@ export class QuorumTestLedger implements ITestLedger { return { publicKey, privateKey }; } - public async start(): Promise { + public async start(omitPull = false): Promise { const containerNameAndTag = this.getContainerImageName(); if (this.container) { @@ -180,7 +180,9 @@ export class QuorumTestLedger implements ITestLedger { } const docker = new Docker(); - await this.pullContainerImage(containerNameAndTag); + if (!omitPull) { + await this.pullContainerImage(containerNameAndTag); + } return new Promise((resolve, reject) => { const eventEmitter: EventEmitter = docker.run(