Skip to content

Commit a023d9d

Browse files
committed
ci
1 parent 2885bfb commit a023d9d

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

examples/commands/message-stores.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@
103103
new DropStoreCommand(new ServiceLocator($factories)),
104104
]);
105105

106+
$clock = new MonotonicClock();
107+
$clock->sleep(20);
108+
106109
foreach ($storesIds as $store) {
107110
$setupOutputCode = $application->run(new ArrayInput([
108111
'command' => 'ai:message-store:setup',

examples/compose.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ services:
132132
indices.requests.cache.maximum_cacheable_size: 256
133133
DISABLE_SECURITY_PLUGIN: true
134134
OPENSEARCH_JAVA_OPTS: '-Xms512m -Xmx512m'
135+
OPENSEARCH_INITIAL_ADMIN_PASSWORD: 'symfony'
135136
ulimits:
136137
memlock:
137138
soft: -1
@@ -142,7 +143,9 @@ services:
142143
healthcheck:
143144
test: [ 'CMD', 'curl', "-f", "http://127.0.0.1:9200" ]
144145
interval: 30s
145-
retries: 5
146+
start_period: 120s
147+
timeout: 20s
148+
retries: 3
146149
ports:
147150
- '9200:9200'
148151
- '9600:9600'

0 commit comments

Comments
 (0)