Commit Graph

27 Commits

Author SHA1 Message Date
Takashi Kajinami 6c73ace4f7 redis: Add functional tests
This adds functional tests with redis and redis sentinel, to ensure
the current implementation can initialize clients properly.

Change-Id: I6318f6ad00d5b0ee3db1be5e8671a4c346b9daff
2024-02-04 13:20:54 +00:00
Hervé Beraud 4daef2972e Moves supported python runtimes from version 3.8 to 3.10
Within 2023.2 python version 3.9 and 3.10 are the
supported python runtimes [1].
[1] https: //review.opendev.org/c/openstack/governance/+/872232

Change-Id: I767de94cb56508c8e9f4cf7c2a0b31f4d7c414ba
2023-04-10 12:57:38 +09:00
OpenStack Release Bot fb13f8d1d9 Add Python3 antelope unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for antelope.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: Ida76099b85ce23c9b7c7aff362a709d8b91baf04
2022-09-09 09:15:56 +00:00
OpenStack Release Bot 24f400012e Add Python3 zed unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for zed.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: If5a808d06a6073b54717d2cb06a436df461f1c14
2022-03-04 17:17:20 +00:00
OpenStack Release Bot 316b0d26ee Add Python3 yoga unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for yoga.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I8ed4d4fd52abb8ee89de5f54c72c69edadc97714
2021-09-10 14:33:45 +00:00
OpenStack Release Bot 68917b1b48 Add Python3 xena unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for xena.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: Id478ed98292e79a08445ac115a04d269d1f3e9f0
2021-03-18 11:12:13 +00:00
Moisés Guimarães de Medeiros b00b3b23b4 Add dogpile.cache.pymemcache backend
Depends-On: https://review.opendev.org/c/openstack/requirements/+/772684
Change-Id: Ibdc6015ac1a9812976c4f3d8a737f7245599553e
Signed-off-by: Moisés Guimarães de Medeiros <moguimar@redhat.com>
2021-01-27 15:11:27 +01:00
Hervé Beraud bc9c70fd66 Dropping lower constraints testing
We facing errors related to the new pip resolver, this
topic was discussed on the ML and QA team proposed to
to test lower-constraints [1].

I propose to drop this test because the complexity and recurring pain needed
to maintain that now exceeds the benefits provided by this mechanismes.

[1] http://lists.openstack.org/pipermail/openstack-discuss/2020-December/019390.html

Change-Id: I64f3ddcdfb21d69ae8a6fc7abaeddee2a9289792
2020-12-18 15:06:48 +01:00
OpenStack Release Bot 9a525982f6 Add Python3 wallaby unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for wallaby.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I48c38bb9d2d1812672dcc08e6e280efca3013d63
2020-09-11 20:55:53 +00:00
Hervé Beraud df075b2465 Adding functional tests for memcache_pool backend
Introducing the needed changes to functional tests to run
them against the memcache_pool backend.

These changes introduced a new zuul job related to memcache
to isolate this part during CI and get clear outputs.

Change-Id: Ib84b3db83e8c50c7929874c63177c94f459a1a2c
Co-authored-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2020-08-25 14:01:17 +02:00
Moisés Guimarães de Medeiros a11cde4cc3 Add Memcached functional tests to gate
Change-Id: Ieca5e59e36879ce1e0277ee17a1fbe40c7316958
2020-08-20 14:41:47 +02:00
Moisés Guimarães de Medeiros 89d14a0f6e Drop hard choice on py38 for functional tests
Change-Id: Ie80d927af82c60c48568285fff897d9ebdd3030d
2020-08-13 15:09:56 +02:00
Zuul bbc271b759 Merge "Refactoring functional tests based on standard usages" 2020-05-28 16:21:33 +00:00
Zuul 285e28c5ad Merge "Adding functional tests" 2020-05-28 14:01:40 +00:00
Hervé Beraud 83de99cdad Refactoring functional tests based on standard usages
Refactoring the functional tests by using the standard usages [1]
and best pratices available in the oslo.cache documentation.

The main goal of these changes is to help us to
test oslo.cache in the way that quite close to real life usages.

To test new backend now we just need to create the associated test class
dedicated to pass backend's config fixture.

These changes allow to test a new backend by:
- passing the right config to backend by using dedicated config fixture;
- adding the zuul job dedicated to manage functional tests
  against etcd backend;
- adding the right server backend to bindep.

[1] https://docs.openstack.org/oslo.cache/latest/user/usage.html

Change-Id: Iaf196d2d93225afa54e324fb830761049059926e
2020-05-28 14:34:47 +02:00
Hervé Beraud 9227352b39 Adding functional tests
This project lack of functional tests, these changes aim to introduce them.

These changes activate functional tests for oslo.cache.

They introduced:
- related ci jobs
- splits tests into functional and unit
- bindep to manage backends server

Functional tests support the following backends for now:
- etcd3gw

Co-authored-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
Change-Id: I604cb542ac25fd4bfac57ea607b447ac82404b7e
2020-05-14 14:45:12 +02:00
Andreas Jaeger 725b4b5054 Switch to Victoria tests
This repo has been using train tests and thus was missed by the bot to
update from ussuri to victoria, update manually.

See also the PTI in governance [1].

    [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I8b1daf10f4e2ab7de0ce64d5cfd13556b0834ccf
2020-05-09 14:09:03 +02:00
Radosław Piliszek 460211d86c Add memcache_pool backend job
This is to be able to validate in CI that it actually works.

Change-Id: Iadad6d2d4643412e4d846a05c3e3eb4a3deecb84
Related-bug: #1866008
2020-03-24 18:04:21 +00:00
Andreas Jaeger 791b9952d5 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: Ie8e737cfde8b2587ef60cd25ab746e6b04936390
2020-02-03 13:44:20 +01:00
Corey Bryant a5023ba275 Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: I097a6df0db8bbdd9434abe0ef7176bf0999d44ef
Story: #2005924
Task: #34234
2019-07-05 14:42:06 -04:00
Ghanshyam Mann 79ea6a99b7 Dropping the py35 testing
All the integration testing has been moved to
Bionic now[1] and py3.5 is not tested runtime for
Train or stable/stein[2].

As per below ML thread, we are good to drop the py35
testing now:
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/005097.html

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004647.html
[2]
https://governance.openstack.org/tc/reference/runtimes/stein.html
https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: Ic98870c5449203556034eedd3a997afc3679efaf
2019-04-15 18:57:59 +00:00
ZhongShengping 66e97bd5b6 add python 3.7 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.7.

See ML discussion here [1] for context.

[1] http://lists.openstack.org/pipermail/openstack-dev/2018-October/135626.html
Story: #2004073
Task: #27440

Change-Id: I60669967c8c64f2d5a02ae5b248def763ac56820
2019-03-04 11:21:12 +00:00
Andreas Jaeger 9800d84235 Use template for lower-constraints
Small cleanups:

* Use openstack-lower-constraints-jobs template, remove individual
  jobs.
* Sort list of templates

Change-Id: Ie01fde9d6525e0786cea809a21c0df10450edadf
Needed-By: https://review.openstack.org/623229
2018-12-20 20:09:03 +01:00
Doug Hellmann 941c728706 add lib-forward-testing-python3 test job
This is a mechanically generated patch to add a functional test job
running under Python 3 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I384143fae7e93a99fedd8efe010e9b3759bdb62d
Story: #2002586
Task: #24322
2018-08-11 18:20:11 -04:00
Doug Hellmann 5c05fa9b6d add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I5783fcf4c13ceb62676d3f215f1050bdbb44b200
Story: #2002586
Task: #24322
2018-08-07 16:17:31 -04:00
Doug Hellmann ed81c012f0 import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I34e4066f1f6dd989ba44b0e2bf36e5f7c7f3ecb9
Story: #2003250
2018-08-03 17:43:36 -04:00
Doug Hellmann e003095b6b add lower-constraints job
Create a tox environment for running the unit tests against the lower
bounds of the dependencies.

Create a lower-constraints.txt to be used to enforce the lower bounds
in those tests.

Add openstack-tox-lower-constraints job to the zuul configuration.

See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html
for more details.

Change-Id: I281cd6451968c76cb55d9213aeb5a8da35e006a0
Depends-On: https://review.openstack.org/555034
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-24 18:18:29 -04:00