Skip to content

Commit

Permalink
helios tests
Browse files Browse the repository at this point in the history
  • Loading branch information
smklein committed Jun 24, 2024
1 parent 87b8df9 commit 52406a6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
11 changes: 11 additions & 0 deletions schema/all-zones-requests.json
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,17 @@
"zone_type"
],
"properties": {
"filesystem_pool": {
"description": "The pool on which we'll place this zone's filesystem.\n\nNote that this is transient -- the sled agent is permitted to destroy the zone's dataset on this pool each time the zone is initialized.",
"anyOf": [
{
"$ref": "#/definitions/ZpoolName"
},
{
"type": "null"
}
]
},
"id": {
"type": "string",
"format": "uuid"
Expand Down
4 changes: 4 additions & 0 deletions sled-agent/src/services.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4362,6 +4362,7 @@ mod test {
id,
underlay_address: Ipv6Addr::LOCALHOST,
zone_type,
filesystem_pool: None,
}],
},
Some(&tmp_dir),
Expand Down Expand Up @@ -4393,6 +4394,7 @@ mod test {
dns_servers: vec![],
domain: None,
},
filesystem_pool: None,
}],
},
Some(&tmp_dir),
Expand Down Expand Up @@ -4809,6 +4811,7 @@ mod test {
dns_servers: vec![],
domain: None,
},
filesystem_pool: None,
}];

let tmp_dir = String::from(test_config.config_dir.path().as_str());
Expand Down Expand Up @@ -4837,6 +4840,7 @@ mod test {
dns_servers: vec![],
domain: None,
},
filesystem_pool: None,
});

// Now try to apply that list with an older generation number. This
Expand Down

0 comments on commit 52406a6

Please sign in to comment.