canonical / canonical/cloud-init

fix flaky integration test

Open
#5,269 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
3.8k
Forks
1.1k
Avg merge
2d 23h
Merged PRs (30d)
18

Description

# Bug report

Fixing https://github.com/canonical/pycloudlib/issues/369 should make the following test no longer flaky. I'm filing this issue as a reminder so that we re-add this test to CI once the bug is fixed in pycloudlib.

https://github.com/canonical/cloud-init/blob/cf72d7f37b2fb45d5d97113ec83d0f24e0fc818a/tests/integration_tests/modules/test_power_state_change.py#L55

Note to self: [this branch](https://github.com/holmanb/cloud-init/tree/holmanb/unflakify-power) contains the fix and makes test behavior slightly easier to undertand.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.