Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

full model name confuses zaza when test-directory is used #584

Open
marosg42 opened this issue Jan 25, 2023 · 0 comments
Open

full model name confuses zaza when test-directory is used #584

marosg42 opened this issue Jan 25, 2023 · 0 comments
Labels

Comments

@marosg42
Copy link

marosg42 commented Jan 25, 2023

When full model name (controller:model) and test-directory are specified, zaza pretends there are no tests

$ functest-test -m foundations-maas:ceph-standalone --test-directory tests/ 
2023-01-25 10:45:31 [INFO] Events: {}
Metadata: {}

The same without controller name

$ functest-test -m ceph-standalone --test-directory tests/ 
2023-01-25 10:47:18 [INFO] ## Running Test zaza.openstack.charm_tests.ceph.mon.tests.CinderCephMonTest ##
...

But when -t is used to specify a test, controller:model is fine

$ functest-test -m foundations-maas:ceph-standalone -t zaza.openstack.charm_tests.ceph.tests.CephRGWTest
2023-01-25 10:49:28 [INFO] ## Running Test zaza.openstack.charm_tests.ceph.tests.CephRGWTest ##
...

When not using --test-directory at all -t works fine with and without controller

@ajkavanagh ajkavanagh added the bug label Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants