data TestCluster
The environment with cluster(nodes: n, roles: [...], db: ...) as c yields.
Example:
test integ "one node of role store" with cluster(nodes: 1, roles: ["store"]) as c {
assert_eq(c.roles.len(), 1)
}pub(api) data TestClusterSince. 1.0.0-beta
Fields
pub nodes: u32 | Number of nodes the test asked for. |
pub roles: List<str> | Roles of the nodes. |
Defined in: std/core/testing.oxl:118