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

Add a ceilometer test case and fix existing ones for trusty/mitaka #185

Merged
merged 3 commits into from Mar 6, 2020
Merged

Conversation

lourot
Copy link
Contributor

@lourot lourot commented Mar 5, 2020

Copy link
Contributor

@fnordahl fnordahl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apart from one nit, the test code changes look good to me, do you have a Gerrit Review up where a result of a test run with this code in effect can be viewed?

assert(ceil.samples.list() == [])
assert(ceil.meters.list() == [])

# NOTE(beisner): need to add more functional tests
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably safe to remove this comment now

@lourot
Copy link
Contributor Author

lourot commented Mar 5, 2020

Apart from one nit, the test code changes look good to me, do you have a Gerrit Review up where a result of a test run with this code in effect can be viewed?

thanks @fnordahl ! https://review.opendev.org/684382

Copy link
Contributor

@fnordahl fnordahl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@fnordahl fnordahl merged commit cb6cb1d into openstack-charmers:master Mar 6, 2020
openstack-gerrit pushed a commit to openstack/charm-ceilometer that referenced this pull request Mar 6, 2020
Zaza tests can be found here:
openstack-charmers/zaza-openstack-tests#59
openstack-charmers/zaza-openstack-tests#185

Support Python 3.8 by pulling a version of charm-helpers containing juju/charm-helpers#423

Func-Test-PR: openstack-charmers/zaza-openstack-tests#185
Closes-Bug: #1828424

Change-Id: I844836b0c2f7556da0b73a7917b8ec18052ba841
openstack-gerrit pushed a commit to openstack/openstack that referenced this pull request Mar 6, 2020
* Update charm-ceilometer from branch 'master'
  - Porting tests from Amulet to Zaza and support for Python 3.8
    
    Zaza tests can be found here:
    openstack-charmers/zaza-openstack-tests#59
    openstack-charmers/zaza-openstack-tests#185
    
    Support Python 3.8 by pulling a version of charm-helpers containing juju/charm-helpers#423
    
    Func-Test-PR: openstack-charmers/zaza-openstack-tests#185
    Closes-Bug: #1828424
    
    Change-Id: I844836b0c2f7556da0b73a7917b8ec18052ba841
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants