Skip to content

Conversation

@glehmann
Copy link
Member

No description provided.

@glehmann glehmann requested review from Nambrok and stormi November 18, 2025 14:39
Copy link
Member

@stormi stormi left a comment

Choose a reason for hiding this comment

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

The commit message must describe what the problem was.

@glehmann glehmann force-pushed the gln/local-sr-selection-ouko branch from f706e0a to 13db638 Compare November 18, 2025 19:09
@glehmann glehmann requested a review from stormi November 18, 2025 19:09
@glehmann glehmann force-pushed the gln/local-sr-selection-ouko branch from 13db638 to 50f1d28 Compare November 24, 2025 13:30
@glehmann glehmann requested a review from a team as a code owner November 24, 2025 13:30
Copy link

@rzr rzr left a comment

Choose a reason for hiding this comment

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

Sounds fair enough, but it may have impact on the reproducibility of test

lib/host.py Outdated
)
# We don't want a SR added by the test, so choose one that already existed
pre_existing_local_sr_uuids = sorted(set(self.pool.pre_existing_sr_uuids) & set(local_sr_uuids))
assert local_sr_uuids, f"DEFAULT_SR=='local' so there must be a local SR on host {self}"
Copy link
Contributor

Choose a reason for hiding this comment

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

You should update the assert here to use pre_existing_local_sr_uuids

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed!

@glehmann glehmann force-pushed the gln/local-sr-selection-ouko branch from 50f1d28 to b7dac3e Compare November 25, 2025 09:19
@glehmann glehmann requested a review from Nambrok November 25, 2025 09:20
The test may create a local SR that should be used only for the test.
Using it for something else, like caching the VMs, it prevents the SR
being destroyed in the tear down.

Signed-off-by: Gaëtan Lehmann <gaetan.lehmann@vates.tech>
@glehmann glehmann force-pushed the gln/local-sr-selection-ouko branch from b7dac3e to e44e6b8 Compare November 25, 2025 17:23
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.

5 participants