Three beds give their fixtures names that are no catalogue module's (issue 074)

This commit is contained in:
2026-09-21 23:25:36 +02:00
parent e1739b1caf
commit 2e0f11dfc2
4 changed files with 19 additions and 23 deletions
@@ -145,7 +145,7 @@ test("redis creates a consumer's login with the password the mesh minted, sealin
// (MESH_RECEIVES). There is NO MESH_SEAL_KEY — the whole point of ADR 0048 is that a provider
// needs none.
const manifest = JSON.stringify({
module: "redis",
module: "a-cache",
version: "1",
emits: ["module.redis.cache.provisioned", "module.redis.cache.deprovisioned"],
consumes: ["module.redis.cache.provisioned", "module.redis.cache.deprovisioned"],
@@ -184,10 +184,10 @@ test("redis creates a consumer's login with the password the mesh minted, sealin
},
],
});
await must(`printf %s ${quote(manifest)} > /tmp/redis.json && docker cp /tmp/redis.json mesh-controller:/redis.json`);
await mesh("module add /redis.json");
await mesh(`module issue redis --node ${MACHINE}`);
await mesh(`assign ${MACHINE} redis`);
await must(`printf %s ${quote(manifest)} > /tmp/a-cache.json && docker cp /tmp/a-cache.json mesh-controller:/a-cache.json`);
await mesh("module add /a-cache.json");
await mesh(`module issue a-cache --node ${MACHINE}`);
await mesh(`assign ${MACHINE} a-cache`);
await mesh(`push ${MACHINE}`);
await settled();