-
Notifications
You must be signed in to change notification settings - Fork 18
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
tests: some stabilization changes #655
Conversation
fab841f
to
64ea325
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For some reason the tests started crashing in the part where s.udevadm_settle() was separated, but maybe it's just a flake
For some reason the tests started crashing in the part where s.udevadm_settle() was separated, but maybe it's just a flake
64ea325
to
88b8ab3
Compare
Yes found the issue, thanks. |
3c0db92
to
dd65e4f
Compare
705dc8b
to
4400c4d
Compare
f05a8b9
to
4529323
Compare
This eliminates the needs to multiple disks re-scans
In this way we don't have to create new classes for test methods that need different disks.
4529323
to
ceefeff
Compare
I know the single remaining failure problem, I will fix it tomorrow. |
0e92db2
to
2fc320b
Compare
… and teardown * Ensure disks all disks are removed on both setup and teardown * Run udevadm settle after disk adding/removal operations * When adding disks, specify the target (vda, vdb). Often disks were added with /dev/vdb altough /dev/vda was expected
I suspect there is some cleanup missing for these.
There is some cleanup missing from this.
I believe there is some race condition with blivet not parsing the partitions propertly.
2fc320b
to
91f793a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks good, thank you very much for the changes for code readability and fixing flakes. The only thing that might be useful is to squash some commits into each other to remove duplicates.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thank you. I like the setup moved to setup.
TestStorageMountPointsRAID_E2E seems to have broken in the meantime. |
No description provided.