Replace Comfy YuE with standalone YuEGP profile 1
This commit is contained in:
@@ -84,6 +84,15 @@ function liveJob(id, kind = 'edit', extra = {}) {
|
||||
return { id, kind, status: 'running', promptId: `prompt-${id}`, startedAt: Date.now() - 300_000,
|
||||
library: { ownerKey: 'test-owner' }, ...extra }
|
||||
}
|
||||
|
||||
test('standalone YuEGP retains its queue slot while Comfy is empty for longer than the zombie timeout', async () => {
|
||||
const live = liveJob('yuegp-active', 'music', { yueGp: true, promptId: undefined, startedAt: Date.now() - 3600000 })
|
||||
const f = fixture({ rows: [row('yuegp-active'), row('next', 'waiting', undefined)], lives: [live] })
|
||||
await f.api.kickStudioQueue()
|
||||
assert.equal(live.status, 'running')
|
||||
assert.equal(f.started.length, 0)
|
||||
assert.equal(f.rows()[1].status, 'waiting')
|
||||
})
|
||||
async function finishes(promise) {
|
||||
let timer
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user