diff --git a/.github/workflows/nocobase-test-backend.yml b/.github/workflows/nocobase-test-backend.yml index 34e97e4e3..3df4a9d9b 100644 --- a/.github/workflows/nocobase-test-backend.yml +++ b/.github/workflows/nocobase-test-backend.yml @@ -136,7 +136,7 @@ jobs: container: node:${{ matrix.node_version }} services: mysql: - image: mysql:8 + image: mysql:8.2 # >= 8.3 will meet unsolved error: https://github.com/nocobase/nocobase/actions/runs/7581141593/job/20653828990?pr=3383 env: MYSQL_ROOT_PASSWORD: password MYSQL_DATABASE: nocobase diff --git a/packages/plugins/@nocobase/plugin-workflow-delay/src/server/__tests__/instruction.test.ts b/packages/plugins/@nocobase/plugin-workflow-delay/src/server/__tests__/instruction.test.ts index b35eab1e0..119718374 100644 --- a/packages/plugins/@nocobase/plugin-workflow-delay/src/server/__tests__/instruction.test.ts +++ b/packages/plugins/@nocobase/plugin-workflow-delay/src/server/__tests__/instruction.test.ts @@ -86,7 +86,7 @@ describe('workflow > instructions > delay', () => { expect(j2.status).toBe(JOB_STATUS.FAILED); }); - it('delay to resolve and rollback in downstream node', async () => { + it('delay to resolve and downstream node error', async () => { const n1 = await workflow.createNode({ type: 'delay', config: { @@ -97,11 +97,9 @@ describe('workflow > instructions > delay', () => { const n2 = await workflow.createNode({ type: 'create', config: { - collection: 'comment', + collection: 'notExistsTable', params: { - values: { - status: 'should be number but use string to raise an error', - }, + values: {}, }, }, upstreamId: n1.id,