Skip to content

Commit 2cf46b3

Browse files
authored
Add dummy test for snapshot_exists (#1780)
This prevents warnings about unused functions on non-illumos machines.
1 parent a093feb commit 2cf46b3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

integration_tests/src/lib.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5299,6 +5299,12 @@ mod integration_tests {
52995299
client.detach(&volume_id.to_string()).await.unwrap();
53005300
}
53015301

5302+
#[tokio::test]
5303+
async fn test_snapshot_exists() {
5304+
let tds = DefaultTestDownstairsSet::big(false).await.unwrap();
5305+
assert!(tds.snapshot_exists("foo").is_err());
5306+
}
5307+
53025308
#[tokio::test]
53035309
async fn test_pantry_scrub() {
53045310
// Test scrubbing the OVMF image from a URL

0 commit comments

Comments
 (0)