One-node bed: SDK-by-version, rename, and the store/broker upgrade proofs #27
@@ -848,8 +848,11 @@ before(async () => {
|
|||||||
said.push(` names ${(hosts.match(/[a-z0-9-]+\.internal/g) ?? []).join(" ")}`);
|
said.push(` names ${(hosts.match(/[a-z0-9-]+\.internal/g) ?? []).join(" ")}`);
|
||||||
|
|
||||||
// The networks the declarations asked for, rather than whatever the runtime had lying around.
|
// The networks the declarations asked for, rather than whatever the runtime had lying around.
|
||||||
|
// `lavinmq` no longer declares one: it adopts the foundation's mesh-broker rather than raising a
|
||||||
|
// server of its own on a private network (novox/hq issue 051, WBS 3.2), so the only module
|
||||||
|
// network here is the consumer's own.
|
||||||
const networks = (await on(CONTROL, `docker network ls --format '{{.Name}}'`)).out;
|
const networks = (await on(CONTROL, `docker network ls --format '{{.Name}}'`)).out;
|
||||||
for (const wanted of ["lavinmq", "amqp-ping"]) {
|
for (const wanted of ["amqp-ping"]) {
|
||||||
assert.match(networks, new RegExp(`^${wanted}$`, "m"),
|
assert.match(networks, new RegExp(`^${wanted}$`, "m"),
|
||||||
`the ${wanted} module declares a network and none exists:\n${networks}`);
|
`the ${wanted} module declares a network and none exists:\n${networks}`);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user