Skip to content

Commit 8e22e74

Browse files
committed
chore(test-suite): await a bit for the KMS materials to be available
1 parent 68abfb3 commit 8e22e74

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

test-suite/fhevm/scripts/deploy-fhevm-stack.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ ${RUN_COMPOSE} "kms-connector" "KMS Connector Services" \
330330
"kms-connector-kms-worker:running" \
331331
"kms-connector-tx-sender:running"
332332

333-
# Setup Gateway contracts, which will trigger the FHE materials generation. Note
333+
# Setup Gateway contracts, which will trigger the KMS materials generation. Note
334334
# that the key generation may take a few seconds to complete, meaning that executing
335335
# the e2e tests too soon may fail if the materials are not ready. Hence, the following
336336
# setup is placed here to favor proper sequencing.
@@ -351,3 +351,6 @@ ${RUN_COMPOSE} "relayer" "Relayer Services" \
351351
${RUN_COMPOSE} "test-suite" "Test Suite E2E Tests" "${PROJECT}-test-suite-e2e-debug:running"
352352

353353
log_info "All services started successfully!"
354+
355+
# Wait a bit to ensure the KMS materials are ready before running tests.
356+
sleep 30

0 commit comments

Comments
 (0)