Skip to content

[Bug]: The max task num is not same as defined in config and it would be one more than the number defined #11

@zhuwenxing

Description

@zhuwenxing

Current Behavior

[2023-04-12 13:17:51 - INFO - ci_test]: num_tasks: 101 (test_cdc_create.py:364)
FAILED
testcases/test_cdc_create.py:314 (TestCDCCreate.test_cdc_for_cdc_task_large_than_max_num)
101 != 100

Expected Behavior

the max task number is equal to the defined number 100.

Steps To Reproduce

set the task.maxNum: 100
create 103 tasks

Environment

No response

Anything else?

Creating a task will be failed if the task number is larger than 101. So I guess the boundary is not set correctly.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions