Pool Plutonium keys by game for launches and autoscaling
This commit is contained in:
@@ -81,7 +81,7 @@ describe('runtime image launch policy', () => {
|
||||
expect(() => previewCollection(blueprint.id, 'fill', { image: custom })).toThrow(/prepared by an admin/);
|
||||
await cache([custom]);
|
||||
const preview = previewCollection(blueprint.id, 'fill', { image: custom });
|
||||
const keys = Object.fromEntries(preview.servers.map(server => [server.name!, 'saved-key']));
|
||||
const keys = Object.fromEntries(preview.servers.map(server => [server.name!, 'key-' + server.name]));
|
||||
await cache([]);
|
||||
expect(() => queueCollection({ previewId: preview.id, keys })).toThrow(/prepared by an admin/);
|
||||
const { db } = await import('../../src/lib/server/db/index.js');
|
||||
|
||||
Reference in New Issue
Block a user