Skip to content

Commit

Permalink
test(block_storage): fix test_volume_create_get_delete_simple, name i…
Browse files Browse the repository at this point in the history
…s empty

Even though its renamed with the UUID later on, the volume returned on
creation has an empty string as name.

Signed-off-by: Sandro-Alessio Gierens <[email protected]>
  • Loading branch information
gierens committed Mar 17, 2024
1 parent 61fa269 commit 9aeece2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration-block-storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ async fn test_volume_create_get_delete_simple() {
.await
.expect("Could not create volume");
let id = volume.id().clone();
assert_eq!(*volume.name(), id);
assert!(volume.name().is_empty());
assert!(volume.description().is_none());
assert_eq!(*volume.size(), 1 as u64);

Expand Down

0 comments on commit 9aeece2

Please sign in to comment.