mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 05:46:00 +00:00
test: mysql version bug (#3412)
* test(plugin-workflow): limit mysql version to pass test * fix(plugin-workflow-delay): fix test case * fix(plugin-workflow-delay): fix test case
This commit is contained in:
parent
1260934d2b
commit
3b60ba2cf8
2
.github/workflows/nocobase-test-backend.yml
vendored
2
.github/workflows/nocobase-test-backend.yml
vendored
@ -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
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user