Skip to content

Commit 7422013

Browse files
committed
chore: Fix issue with flaky test
1 parent 2a0c2ad commit 7422013

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/deploy-app.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,12 +365,13 @@ describe('deploy-app', () => {
365365
})
366366

367367
test('Do nothing if deploying app with no changes', async () => {
368-
const { algod, indexer, testAccount } = localnet.context
368+
const { algod, indexer, testAccount, waitForIndexer } = localnet.context
369369
const deployment = await getBareCallContractDeployParams({
370370
from: testAccount,
371371
metadata: getMetadata(),
372372
})
373373
const initialDeployment = await deployApp(deployment, algod, indexer)
374+
await waitForIndexer()
374375
logging.testLogger.clear()
375376

376377
const result = await deployApp(deployment, algod, indexer)

0 commit comments

Comments
 (0)