The aodh.tests.functional.storage.test_impl_mongodb Module

Tests for aodh/storage/impl_mongodb.py

Note

In order to run the tests against another MongoDB server set the environment variable aodh_TEST_MONGODB_URL to point to a MongoDB server before running the tests.

class aodh.tests.functional.storage.test_impl_mongodb.CapabilitiesTest(*args, **kwds)[source]

Bases: aodh.tests.base.BaseTestCase

test_alarm_capabilities()[source]
class aodh.tests.functional.storage.test_impl_mongodb.IndexTest(*args, **kwds)[source]

Bases: aodh.tests.functional.db.TestBase

test_alarm_history_ttl_index_absent(*args, **kwargs)[source]
test_alarm_history_ttl_index_present(*args, **kwargs)[source]
class aodh.tests.functional.storage.test_impl_mongodb.MongoDBConnection(*args, **kwds)[source]

Bases: aodh.tests.functional.db.TestBase

test_connection_pooling(*args, **kwargs)[source]
test_replica_set(*args, **kwargs)[source]