summaryrefslogtreecommitdiff
path: root/tests/base.py
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2022-10-21 10:52:33 +0000
committerGerrit Code Review <review@openstack.org>2022-10-21 10:52:33 +0000
commitc6340d7492e20b93a9df6fbb458f19ce74228d15 (patch)
tree297ddc8bfdafe4d3f400933edafd60782043bea5 /tests/base.py
parent3245654857b03187d6f194af999a5f693b1b17f7 (diff)
parentec4c6264ca1694082e30cffcf54ff54ada1d8c2d (diff)
downloadzuul-c6340d7492e20b93a9df6fbb458f19ce74228d15.tar.gz
Merge "Add JobData refresh test"
Diffstat (limited to 'tests/base.py')
-rw-r--r--tests/base.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/base.py b/tests/base.py
index 742041503..e052e3729 100644
--- a/tests/base.py
+++ b/tests/base.py
@@ -5617,6 +5617,8 @@ class ZuulTestCase(BaseTestCase):
ctx = self.createZKContext(lock)
with pipeline.manager.currentContext(ctx):
pipeline.state.refresh(ctx)
+ # return the context in case the caller wants to examine iops
+ return ctx
def _logQueueStatus(self, logger, matcher, all_zk_queues_empty,
all_merge_jobs_waiting, all_builds_reported,