Skip to content

Commit 52a2909

Browse files
committed
Add sleep to deflake enterprise snippets
1 parent a6c219b commit 52a2909

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/code_snippets/tests/test_kind_search_enterprise_snippets.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ echo "Sourcing env variables for ${CODE_SNIPPETS_FLAVOR} flavor"
2525
test -f "${test_dir}/env_variables_${CODE_SNIPPETS_FLAVOR}.sh" && source "${test_dir}/env_variables_${CODE_SNIPPETS_FLAVOR}.sh"
2626
${test_dir}/test.sh
2727

28+
echo "Sleeping for 120s to let replicaset nodes restarted and configured with the search configuration."
29+
sleep 120
30+
2831
test_dir="./docs/search/03-search-query-usage"
2932
echo "Sourcing env variables for ${CODE_SNIPPETS_FLAVOR} flavor"
3033
# shellcheck disable=SC1090

0 commit comments

Comments
 (0)