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

GD-494: Fix test discovery error when test root path is set to empty #496

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

MikeSchulze
Copy link
Owner

Why

The error occurs because splitting a path by an empty string is invalid and results later in an index out of bounds error

What

Fixed by set the root_folder back to the resource root before splitting into parts for the tree

# Why
The error occurs because splitting a path by an empty string is invalid and results later in an index out of bounds error

# What
Fixed by set the root_folder  back to the resource root before splitting into parts for the tree
@MikeSchulze MikeSchulze self-assigned this Jun 7, 2024
@MikeSchulze MikeSchulze added bug Something isn't working UI labels Jun 7, 2024
@MikeSchulze MikeSchulze merged commit 87639bd into master Jun 7, 2024
@MikeSchulze MikeSchulze deleted the GD-494 branch June 7, 2024 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GD-494: Discover test shows an error when the test root folder is set to empty
1 participant