Remove Komodo backend in favor of native hosts
This commit is contained in:
@@ -98,7 +98,7 @@ describe('deferred promotion rollback', () => {
|
||||
expect(existsSync(join(dirname(path), 'never.gsc'))).toBe(false);
|
||||
});
|
||||
|
||||
it('keeps another campaign eligible when withdrawing a shared activation source', async () => {
|
||||
it('keeps another campaign eligible when withdrawing an independent activation source', async () => {
|
||||
const { path, before } = await promotion('script', true);
|
||||
const { db } = await import('../../src/lib/server/db/index.js');
|
||||
const { queueFileChange } = await import('../../src/lib/server/fleet/staged-files.js');
|
||||
@@ -109,7 +109,7 @@ describe('deferred promotion rollback', () => {
|
||||
queueFileChange({ sourceKind: 'campaign', sourceId: 'other', server, kind: 'script', relPath: 'other.gsc',
|
||||
content: Buffer.from('other campaign'), inventorySource: 'drift:other' });
|
||||
const shared = requestRestart(server, { kind: 'campaign', id: 'promote' });
|
||||
expect(requestRestart(server, { kind: 'campaign', id: 'other' }).id).toBe(shared.id);
|
||||
expect(requestRestart(server, { kind: 'campaign', id: 'other' }).id).not.toBe(shared.id);
|
||||
await rollbackPromoteDeployment('promote');
|
||||
await applyCampaign('other');
|
||||
expect(await readFile(path)).toEqual(before);
|
||||
|
||||
Reference in New Issue
Block a user