Merge "persistor test fix"
This commit is contained in:
commit
359c38cf68
@ -73,6 +73,9 @@ changes_interval = 5
|
|||||||
|
|
||||||
[datasources]
|
[datasources]
|
||||||
snapshots_interval = 120
|
snapshots_interval = 120
|
||||||
|
|
||||||
|
[persistor]
|
||||||
|
persist_events=true
|
||||||
EOF
|
EOF
|
||||||
)"
|
)"
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ DEVSTACK_PATH="$BASE/new"
|
|||||||
if [ "$1" = "api" ]; then
|
if [ "$1" = "api" ]; then
|
||||||
TESTS="topology|test_rca|test_alarms|test_resources|test_template"
|
TESTS="topology|test_rca|test_alarms|test_resources|test_template"
|
||||||
elif [ "$1" = "datasources" ]; then
|
elif [ "$1" = "datasources" ]; then
|
||||||
TESTS="datasources|test_events|notifiers|e2e"
|
TESTS="datasources|test_events|notifiers|e2e|database"
|
||||||
else
|
else
|
||||||
TESTS="topology"
|
TESTS="topology"
|
||||||
fi
|
fi
|
||||||
|
@ -74,7 +74,8 @@ class TestEvents(BaseVitrageTempest):
|
|||||||
# Action
|
# Action
|
||||||
time_before_action = datetime.datetime.utcnow()
|
time_before_action = datetime.datetime.utcnow()
|
||||||
nova_utils.create_instances(num_instances=1,
|
nova_utils.create_instances(num_instances=1,
|
||||||
name=INSTANCE_NAME)
|
name=INSTANCE_NAME,
|
||||||
|
set_public_network=True)
|
||||||
|
|
||||||
writen_events = self._load_db_events(time_before_action)
|
writen_events = self._load_db_events(time_before_action)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user