core-services-sdk 1.3.89 → 1.3.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -140,17 +140,14 @@ function waitForRabbitHealthy(containerName, dockerRunCmd, ports) {
|
|
|
140
140
|
} catch {}
|
|
141
141
|
|
|
142
142
|
try {
|
|
143
|
-
execSync(
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
)
|
|
143
|
+
execSync(`docker exec ${containerName} rabbitmq-diagnostics -q ping`, {
|
|
144
|
+
stdio: 'ignore',
|
|
145
|
+
})
|
|
147
146
|
console.log(`[RabbitTest] RabbitMQ is ready.`)
|
|
148
147
|
return
|
|
149
148
|
} catch {
|
|
150
149
|
if (retries % 10 === 0 && retries > 0) {
|
|
151
|
-
console.log(
|
|
152
|
-
`[RabbitTest] Still waiting... (${retries}/${maxRetries})`,
|
|
153
|
-
)
|
|
150
|
+
console.log(`[RabbitTest] Still waiting... (${retries}/${maxRetries})`)
|
|
154
151
|
}
|
|
155
152
|
}
|
|
156
153
|
|