manila/manila/tests
Valeriy Ponomaryov 3c59630499 Fix quota usages update deleting same share from several API endpoints
It is possible to update quota usages multiple times sending share
deletion request to several API endpoints concurrently.
So, move quota usages update logic that is triggered by share deletion,
to DB functions level, which will be able to be executed only when
share deletion succeded. So, all concurrent requests, that failed to
delete DB record, won't commit quota usages updates.

Change-Id: If7d52e08d00d435f2e26c30654f0d2180b17b81a
Closes-Bug: #1707379
Closes-bug: #1707377
2017-11-21 18:02:01 +08:00
..
api Allows the use of dollar sign in usernames 2017-09-11 20:32:32 +10:00
cmd Add user messages periodic cleanup task 2017-07-17 07:53:19 +02:00
common Fix keystone v3 issues for all clients 2016-03-18 14:42:33 +01:00
compute Use parenthesis instead of backslashes in tests folder 2017-06-19 17:56:01 +08:00
data Remove unused self.context 2017-05-10 09:25:38 +08:00
db Fix quota usages update deleting same share from several API endpoints 2017-11-21 18:02:01 +08:00
integrated setup _IntegratedTestBase without verbose flag 2017-03-28 13:37:10 -04:00
message Removes use of timeutils.set_time_override 2017-09-15 23:31:33 +08:00
monkey_patch_example Removed ignored checks from tox.ini and fixed pep8 issues 2016-02-14 14:56:55 +02:00
network Enable IPv6 in manila(network plugins and drivers) 2017-07-27 18:28:15 +08:00
scheduler Removed unnecessary setUp() calls in tests 2017-08-02 12:47:34 +00:00
share Fix quota usages update deleting same share from several API endpoints 2017-11-21 18:02:01 +08:00
share_group Add share groups and share group snapshots quotas 2017-07-26 11:32:43 +03:00
var Renamed cinder to manila. 2013-09-02 09:59:07 +03:00
volume Use parenthesis instead of backslashes in tests folder 2017-06-19 17:56:01 +08:00
wsgi Add possibility to run 'manila-api' with wsgi web servers 2017-04-10 12:49:20 +03:00
xenapi Renamed cinder to manila. 2013-09-02 09:59:07 +03:00
__init__.py Removed ignored checks from tox.ini and fixed pep8 issues 2016-02-14 14:56:55 +02:00
conf_fixture.py Add possibility to run 'manila-api' with wsgi web servers 2017-04-10 12:49:20 +03:00
db_utils.py Merge "Fix grammatical mistake, Changed character from "a" to "an"" 2017-07-19 03:05:44 +00:00
declare_conf.py Switch to using oslo_* instead of oslo.* 2015-01-27 09:19:50 +01:00
fake_client_exception_class.py Fix keystone v3 issues for all clients 2016-03-18 14:42:33 +01:00
fake_compute.py Remove unused server_get() method 2016-01-21 09:16:14 +01:00
fake_driver.py Manila Share Groups 2017-01-23 21:29:12 +02:00
fake_network.py Replaces uuid.uuid4 with uuidutils.generate_uuid() 2016-11-14 10:51:24 -05:00
fake_notifier.py Disable notifications 2017-07-17 12:45:11 -03:00
fake_service_instance.py Trivial: Remove unused logging import 2015-12-28 21:44:26 -05:00
fake_share.py Add quotas per share type 2017-07-19 17:29:04 +03:00
fake_utils.py Enable some off-by-default checks 2017-08-03 16:13:32 +08:00
fake_volume.py Trivial: Remove unused logging import 2015-12-28 21:44:26 -05:00
fake_zfssa.py Add share manage/unmanage of Oracle ZFSSA driver 2016-07-05 15:58:18 -04:00
policy.json User Messages 2017-07-13 13:05:57 +02:00
runtime_conf.py Switch to using oslo_* instead of oslo.* 2015-01-27 09:19:50 +01:00
test_api.py Fix imports for py34 compatibility 2015-08-05 17:32:13 +03:00
test_conf.py Removed unnecessary setUp() calls in tests 2017-08-02 12:47:34 +00:00
test_context.py Remove unit test that is not relevant anymore 2017-01-28 12:02:24 +02:00
test_coordination.py coordination: use tooz builtin heartbeat feature 2017-05-17 10:38:53 +02:00
test_exception.py Add exception for no default share type configured 2017-08-02 15:27:53 -04:00
test_hacking.py Fix the duplicate hacking check M312 and H203 2017-08-13 08:01:42 +08:00
test_manager.py Use parenthesis instead of backslashes in tests folder 2017-06-19 17:56:01 +08:00
test_misc.py Don't translate LOG messages in testsuite 2014-10-28 19:46:09 +01:00
test_network.py Enable IPv6 in manila(network plugins and drivers) 2017-07-27 18:28:15 +08:00
test_policy.py Remove usage of parameter enforce_type 2017-04-16 10:39:01 -04:00
test_quota.py Add share groups and share group snapshots quotas 2017-07-26 11:32:43 +03:00
test_rpc.py Removed unnecessary setUp() calls in tests 2017-08-02 12:47:34 +00:00
test_service.py Add possibility to run 'manila-api' with wsgi web servers 2017-04-10 12:49:20 +03:00
test_test.py Fix test_rpc_consumer_isolation for oslo.messaging 5.31.0 2017-09-08 16:22:45 -04:00
test_test_utils.py Remove vim headers 2014-10-06 15:00:27 +02:00
test_utils.py Fix issue with different decimal separators 2017-10-26 17:24:04 -04:00
utils.py NetApp cDOT: Add Intra-Vserver migration support 2017-01-21 13:06:30 -05:00