nova/nova
melanie witt 39ef1ad774 Restore original time override in test_archive_task_logs
Change I9b16a3a849937aba5b90ed1ab9a80b7f0103f673 attempted to fix a
non-determinstic failure in the test_archive_task_logs functional test
by adding a time override. That fix however missed that the
osloutils_fixture.TimeFixture clears the time override when it exits
and that does not mean a previous time override will be restored.

This removes usage of the osloutils_fixture.TimeFixture and instead
sets time overrides and restores previous time overrides. Restoration
of the original time overrides also made an adjustment to the --before
option value necessary in order to pick up the first task_log record.

Closes-Bug: #1934519

Change-Id: Ic28d2e53d5f50e89635e19df08699f2b8c5cea84
2021-07-31 16:01:32 +00:00
..
accelerator Remove six.text_type (1/2) 2020-12-13 11:25:31 +00:00
api Merge "api: Align availability zone info with forced host" 2021-07-25 10:40:20 +00:00
cmd Merge "db: Use module-level imports for sqlalchemy (for real)" 2021-07-30 17:57:47 +00:00
compute api: Align availability zone info with forced host 2021-07-06 14:40:09 +01:00
conductor db: Remove 'nova.db.base' module 2021-06-16 10:10:29 +01:00
conf Use the new type HostDomainOpt. 2021-05-19 10:29:56 +02:00
console Reject open redirection in the console proxy 2021-05-14 17:26:00 +02:00
db db: Move db.sqalchemy.migration to db.migration 2021-07-05 11:05:04 +01:00
hacking Add a hacking rule for assert_has_calls 2020-09-28 23:08:15 +09:00
image glance: Remove [glance]/allowed_direct_url_schemes 2021-01-28 12:46:57 +00:00
keymgr
locale Imported Translations from Zanata 2020-04-26 07:51:21 +00:00
network Merge "libvirt: Always delegate OVS plug to os-vif" 2021-07-26 19:45:17 +00:00
notifications Remove (almost) all references to 'instance_type' 2021-03-29 12:24:15 +01:00
objects Merge "db: Use module-level imports for sqlalchemy (for real)" 2021-07-30 17:57:47 +00:00
pci mypy: Add type annotations to 'nova.pci' 2021-04-26 18:06:21 +01:00
policies Fix oslo policy DeprecatedRule warnings 2021-07-04 16:00:55 -05:00
privsep Retry lvm volume and volume group query 2021-06-15 12:39:26 +02:00
scheduler scheduler: Remove 'hosts_up' 2021-06-29 12:23:32 +01:00
servicegroup Remove six.binary_type/integer_types/string_types 2020-12-13 11:25:14 +00:00
storage Stop leaking ceph df cmd in RBD utils 2021-05-11 17:28:56 +02:00
tests Restore original time override in test_archive_task_logs 2021-07-31 16:01:32 +00:00
virt [ironic] Minimize window for a resource provider to be lost 2021-07-02 13:02:02 -07:00
volume Remove six.text_type (1/2) 2020-12-13 11:25:31 +00:00
__init__.py
availability_zones.py Remove six.PY2 and six.PY3 2020-08-15 07:45:23 +00:00
baserpc.py
block_device.py virt: Remove 'is_xenapi' helper 2020-09-11 14:09:06 +01:00
cache_utils.py trivial: Remove unused 'cache_utils' APIs 2020-02-05 17:20:28 +00:00
config.py Fix config option default value for sample config file 2020-11-25 00:05:08 +00:00
context.py Remove six.binary_type/integer_types/string_types 2020-12-13 11:25:14 +00:00
crypto.py Replace md5 for fips 2021-02-25 16:01:43 -05:00
debugger.py trivial: Remove remaining '_LW' instances 2020-05-18 17:00:41 +01:00
exception.py Use neutronclient's port binding APIs 2021-07-14 11:19:11 +01:00
exception_wrapper.py rpc: Rework 'get_notifier', 'wrap_exception' 2021-03-01 11:06:48 +00:00
filters.py trivial: Remove remaining '_LI' instances 2020-05-18 17:00:57 +01:00
i18n.py trivial: Remove remaining '_LI' instances 2020-05-18 17:00:57 +01:00
loadables.py trivial: Remove dead code 2019-12-12 10:55:02 +00:00
manager.py db: Remove 'nova.db.base' module 2021-06-16 10:10:29 +01:00
middleware.py Allow X-OpenStack-Nova-API-Version header in CORS 2021-06-15 07:35:36 -04:00
monkey_patch.py Correctly disable greendns 2020-09-11 12:42:04 -04:00
policy.py Reuse code from oslo lib for JSON policy migration 2021-01-14 22:41:33 +00:00
profiler.py
quota.py db: Use module-level imports for sqlalchemy (for real) 2021-07-05 11:04:42 +01:00
rpc.py rpc: Rework 'get_notifier', 'wrap_exception' 2021-03-01 11:06:48 +00:00
safe_utils.py
service.py Restore retrying the RPC connection to conductor 2020-11-13 18:02:00 +01:00
service_auth.py
test.py Make test_archive_task_logs deterministic 2021-07-09 22:40:11 +00:00
utils.py Replace getargspec with getfullargspec 2021-05-12 10:50:52 +08:00
version.py Change API unexpected exception message 2021-02-17 21:30:07 +00:00
weights.py Remove six.add_metaclass 2020-08-15 07:45:39 +00:00
wsgi.py trivial: Remove remaining '_LI' instances 2020-05-18 17:00:57 +01:00