Skip to content
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: Disable message limit in tests #9036

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ziga-lunarg
Copy link
Contributor

The message limit should be disabled in the tests by default. Some tests are currently failing when reaching this limit.

@ziga-lunarg ziga-lunarg requested a review from a team as a code owner December 16, 2024 20:10
@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build queued with queue ID 325549.

@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build # 18342 running.

@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build # 18342 failed.

@ziga-lunarg ziga-lunarg force-pushed the ziga-tests-disable-message-limit branch from 5dec776 to 74a41a3 Compare December 16, 2024 20:56
@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build queued with queue ID 325577.

@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build # 18343 running.

@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build # 18343 passed.

@@ -320,6 +320,16 @@ VkSamplerCreateInfo SafeSaneSamplerCreateInfo() {
}

void VkLayerTest::Init(VkPhysicalDeviceFeatures *features, VkPhysicalDeviceFeatures2 *features2, void *instance_pnext) {
const VkBool32 enable_message_limit = false;
Copy link
Contributor

Choose a reason for hiding this comment

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

putting it in here seems like a great way for people to get burned if they go

RETURN_IF_SKIP(InitFramework(something_else));
RETURN_IF_SKIP(InitState());

I also created a static VkLayerSettingsCreateInfoEXT kDisableMessageLimit that can be used here

@ziga-lunarg ziga-lunarg force-pushed the ziga-tests-disable-message-limit branch from 74a41a3 to f9d16dd Compare December 17, 2024 09:04
@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build queued with queue ID 325898.

@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build # 18352 running.

@ci-tester-lunarg
Copy link
Collaborator

CI Vulkan-ValidationLayers build # 18352 passed.

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