cloudstack/server/test/com/cloud/storage/dao/StoragePoolDaoTest.java
Chiradeep Vittal 3cb4ad4934 Add more detail when unable to schedule cleanup
clean up tests for security group manager v2

move interval to listener -- allows it to be configurable if needed

fix mocks

Enhanced logging for security group manager (from zucchini)

fix merge issues

merge issues
2011-09-12 18:22:55 -07:00

16 lines
480 B
Java

package com.cloud.storage.dao;
import junit.framework.TestCase;
import com.cloud.storage.StoragePoolStatus;
import com.cloud.utils.component.ComponentLocator;
public class StoragePoolDaoTest extends TestCase {
public void testCountByStatus() {
StoragePoolDaoImpl dao = ComponentLocator.inject(StoragePoolDaoImpl.class);
long count = dao.countPoolsByStatus(StoragePoolStatus.Up);
System.out.println("Found " + count + " storage pools");
}
}