-
Notifications
You must be signed in to change notification settings - Fork 993
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
Fixes #38017 - fog-libvirt 0.13.1 & tests #10377
Conversation
git bisect
801ce47ed9fe1295f2753eafabdf4e97021767f7 is the first bad commit
commit 801ce47ed9fe1295f2753eafabdf4e97021767f7
Author: Ewoud Kohl van Wijngaarden <[email protected]>
Date: Thu Jun 13 15:57:28 2024 +0200
Use test:///default in tests
Rather than mocking, this uses the test connection to use real libvirt
objects. This brings compatibility with 0.8.3.
It only keeps mocking for dhcp_leases which isn't implemented in the
test connection. The UUIDs are modified to match. Some of these changes causing the failures, looking into it. |
f53f703
to
ba3c969
Compare
Perhaps I broke something with We have this line that could cause an issue:
I have no idea if we actually need that. In general I'm not a fan of fixtures in tests. |
ba3c969
to
9f94665
Compare
a9d69c5
to
6656b34
Compare
@ekohl aaand it's 🍏 ! |
c714f66
to
e92815b
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 test changes look good, just needs to update the bundler file to not point to my fork anymore :)
e92815b
to
5396763
Compare
5396763
to
af99a5c
Compare
af99a5c
to
7ad978a
Compare
bundler.d/libvirt.rb
Outdated
gem 'fog-libvirt', '>= 0.12.0' | ||
gem 'fog-libvirt', '>= 0.13.1' |
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.
technically, this bump is unnecessary, as Foreman itself will work just fine with both 0.12.0 and 0.13.0, it's just the tests that are broken with those versions (0.12.0 because we now rely on the new mocked values from 0.13.0, 0.13.0 because it broke the URL thing).
keeping it at 0.12.0 allows packaging to lazily catch up on this, instead of having to have 0.13.1 go in at the same time as this change to not block nightlies.
(once again: not blocking, but a strong preference ;-) )
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.
Good point, updated.
7ad978a
to
12186e3
Compare
No description provided.