The test TestReversalIllegalConfig fails in CI.
After investigating a bit, it looks like cluster.initial_master_nodes cannot be computed since there is no master node in the expected replicas.
Debugging further, I think we have a bug when limiting the number of master nodes to create in the upscale state.