Skip to content

Correct the failure message when test is run on a wrong configuration#4322

Open
kanchansenlaskar wants to merge 1 commit intomainfrom
kasenlaskar/correct_error_message
Open

Correct the failure message when test is run on a wrong configuration#4322
kanchansenlaskar wants to merge 1 commit intomainfrom
kasenlaskar/correct_error_message

Conversation

@kanchansenlaskar
Copy link
Collaborator

The existing message which talks about unavailability of quota is a very misleading error message.
Tests get skipped with this error message when it is run on a wrong/unsupported configuration.

@LiliDeng
Copy link
Collaborator

LiliDeng commented Mar 9, 2026

it contains the possibilities that quota is not enough


if not found:
error = f"no available quota found on '{location}'."
error = "Test is run on a wrong configuration"
Copy link
Collaborator

@johnsongeorge-w johnsongeorge-w Mar 10, 2026

Choose a reason for hiding this comment

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

I agree, “no available quota” can be misleading at times. However, replacing it with “wrong configuration” also doesn’t help clarify whether the issue is due to a lack of available candidates, no matching VM sizes, or insufficient quota. Can we enhance the conditional block to perform these checks and surface a more specific error message?

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.

3 participants