pingcap / pingcap/tidb

We need a unit test environment to mock multiple domains

Open
#44,399 0 comments 0 reactions 0 assignees View on GitHub
type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement
Pseudo-distributed testing is performed by simulating multiple computing instances in unit test.
1. Simulate multiple nodes to quickly verify the overall function of the dist task framework in the unit test phase, focusing on the simplest subtask execution.
2. Simulate the addition and reduction of node functions in the unit test.
3. In the unit test, error injection is carried out on the distributed framework, and the crash safe of scheduling is paid attention to.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.