Skip to content

Commit

Permalink
Migrate cluster mode tests to normal framework
Browse files Browse the repository at this point in the history
We currently has two disjoint TCL frameworks:
1. Normal testing framework, which trigger by runtest, which individually
launches nodes for testing.
2. Cluster framework, which trigger by runtest-cluster, which pre-allocates
N nodes and uses them for testing large configurations.

The normal TCL testing framework is much more readily tested and is also
automatically run as part of the CI for new PRs. The runtest-cluster since
it runs very slowly (cannot be parallelized), it currently only runs in daily
CI, this results in some changes to the cluster not being exposed in PR CI
in time.

This PR migrate the Cluster mode tests to normal framework. Some cluster
tests are kept in runtest-cluster because of timing issues or not yet
supported, we can process them later.

Signed-off-by: Binbin <binloveplay1314@qq.com>
  • Loading branch information
enjoy-binbin committed May 6, 2024
1 parent 9ebbd5f commit ae57ba6
Show file tree
Hide file tree
Showing 30 changed files with 796 additions and 529 deletions.
89 changes: 0 additions & 89 deletions tests/cluster/tests/00-base.tcl

This file was deleted.

38 changes: 0 additions & 38 deletions tests/cluster/tests/01-faildet.tcl

This file was deleted.

71 changes: 0 additions & 71 deletions tests/cluster/tests/11-manual-takeover.tcl

This file was deleted.

61 changes: 0 additions & 61 deletions tests/cluster/tests/13-no-failover-option.tcl

This file was deleted.

Loading

0 comments on commit ae57ba6

Please sign in to comment.