Skip to content

Commit b635ae7

Browse files
author
thomas loubrieu
committed
adjust the retry number to wait for legacy registry sync in postman
1 parent fcfa535 commit b635ae7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docker/postman/postman_collection.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4027,7 +4027,7 @@
40274027
"// Pre-request Script: Wait until OpenSearch index \"en-legacy-registry\" has data",
40284028
"",
40294029
"const INDEX_URL = pm.environment.get(\"opensearchUrl\") + \"/en-legacy-registry/_search\";",
4030-
"const MAX_RETRIES = 1; // how many times to check",
4030+
"const MAX_RETRIES = 20; // how many times to check",
40314031
"const RETRY_INTERVAL = 15000; // milliseconds between checks (2 seconds)",
40324032
"",
40334033
"function waitForData(retriesLeft) {",
@@ -4041,8 +4041,8 @@
40414041
" auth: {",
40424042
" type: \"basic\",",
40434043
" basic: {",
4044-
" username: 'admin',",
4045-
" password: 'admin'",
4044+
" username: 'admin', // TODO get it from the environment",
4045+
" password: 'admin' // TODO same here",
40464046
" } ",
40474047
" },",
40484048
" body: {",

0 commit comments

Comments
 (0)