Skip to content

Commit f8448b3

Browse files
committed
fix ut failure in BucketApiServiceImplTest
1 parent 184d98f commit f8448b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/test/java/org/apache/cloudstack/storage/object/BucketApiServiceImplTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public void testCreateBucket() {
110110

111111
ObjectStoreVO objectStoreVO = Mockito.mock(ObjectStoreVO.class);
112112
Mockito.when(objectStoreVO.getId()).thenReturn(objectStoreId);
113-
Mockito.when(objectStoreVO.getTotalSize()).thenReturn(20000000L);
113+
Mockito.when(objectStoreVO.getTotalSize()).thenReturn(2000000000L);
114114
Mockito.when(objectStoreDao.findById(poolId)).thenReturn(objectStoreVO);
115115
ObjectStoreEntity objectStore = Mockito.mock(ObjectStoreEntity.class);
116116
Mockito.when(dataStoreMgr.getDataStore(objectStoreId, DataStoreRole.Object)).thenReturn(objectStore);

0 commit comments

Comments
 (0)