Skip to content

Tracking test cases running more than 3s #26575

@tiancaiamao

Description

@tiancaiamao

We are plan to to limit the time of single unit test, we have to handle the current tests which run too long.

If we can't limit the time in the testing framework #26289, at least we can write a simple and dirty script first, and add that script to the CI workflow, prevent a single test runs too long.

It can be divide into three steps:

  1. Add the restriction, but use a whitelist to filter out the current test cases [done]
  2. Fix all the cases that running too long
  3. Remove the whitelist

This issue is used to track the bad cases, I'll list them and assign them to the original author.

server

session

executor

planner/core

ddl

ddl/failtest

expression

owner

privilege/privileges

store

store/gcworker

Metadata

Metadata

Assignees

No one assigned

    Labels

    component/testhelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.type/enhancementThe issue or PR belongs to an enhancement.

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions