Issue 074 closed: the last WEARING fixtures renamed or retired; a stale delivery fixed #47
@@ -119,7 +119,8 @@ async function settled(withinMs = 600_000): Promise<void> {
|
||||
async function addAssign(name: string, manifest: string): Promise<void> {
|
||||
await must(`printf %s ${quote(manifest)} > /tmp/${name}.json && docker cp /tmp/${name}.json mesh-controller:/${name}.json`);
|
||||
await mesh(`module add /${name}.json`);
|
||||
await mesh(`module issue ${name} --node ${MACHINE}`);
|
||||
// No `module issue`: neither module speaks on the bus, and issuing a module with no broker
|
||||
// secret to deliver into is refused (novox/hq issue 078).
|
||||
await mesh(`assign ${MACHINE} ${name}`);
|
||||
}
|
||||
|
||||
|
||||
@@ -178,7 +178,8 @@ test("a static-key model-access licence delivers the operator's API key to the c
|
||||
const consumerManifest = catalogueModule("openai-consumer", held);
|
||||
await must(`printf %s ${quote(consumerManifest)} > /tmp/openai-consumer.json && docker cp /tmp/openai-consumer.json mesh-controller:/openai-consumer.json`);
|
||||
await mesh(`module add /openai-consumer.json`);
|
||||
await mesh(`module issue openai-consumer --node ${MACHINE}`);
|
||||
// No `module issue`: the consumer speaks on no bus, and issuing a module with no broker secret
|
||||
// to deliver into is refused (novox/hq issue 078).
|
||||
await mesh(`assign ${MACHINE} openai-consumer`);
|
||||
await mesh(`push ${MACHINE}`);
|
||||
await settled();
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
* service has: the runtime names its config resource, and the host recreates the container when that
|
||||
* resource changed this pass.
|
||||
*
|
||||
* This assigns grafana configured by settings, then changes the token and pushes again, and asserts
|
||||
* This assigns a settings-configured runtime (the fixture wears no catalogue name; its image is grafana's tool runtime), then changes the token and pushes again, and asserts
|
||||
* the container was replaced (a new container id) and the config on disk carries the new value.
|
||||
* It builds the host from source (no --no-build), because the behaviour under test is the host's.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user