mirror of
https://github.com/ceph/ceph
synced 2025-03-25 11:48:05 +00:00
java: add stripe unit granularity tests
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
This commit is contained in:
parent
ececcf57b8
commit
e9efa33253
@ -826,4 +826,12 @@ public class CephMountTest {
|
||||
mount.unlink(path);
|
||||
}
|
||||
|
||||
/*
|
||||
* stripe unit granularity
|
||||
*/
|
||||
|
||||
@Test
|
||||
public void test_get_stripe_unit_gran() throws Exception {
|
||||
assertTrue(mount.get_stripe_unit_granularity() > 0);
|
||||
}
|
||||
}
|
||||
|
@ -130,4 +130,9 @@ public class CephUnmountedTest {
|
||||
public void test_get_repl() throws Exception {
|
||||
mount.get_file_replication(0);
|
||||
}
|
||||
|
||||
@Test(expected=CephNotMountedException.class)
|
||||
public void test_get_stripe_unit_gran() throws Exception {
|
||||
mount.get_stripe_unit_granularity();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user