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

Allow specifying a custom cluster file to FRL and YamlTestExtension #3251

Merged
merged 3 commits into from
Mar 17, 2025

Conversation

ScottDugas
Copy link
Collaborator

This allows running yamsql tests with a custom cluster file that is not specified via the environment variable.
This doesn't add support for doing this with the @YamlTest annotation.

This allows running yamsql tests with a custom cluster file
that is not specified via the environment variable.
This doesn't add support for doing this with the @yamltest annotation.
@ScottDugas ScottDugas added the testing improvement Change that improves our testing label Mar 17, 2025
This is ok, it will get it from the environment variable if it is
null, but we can't set the environment variable to null.
@ScottDugas ScottDugas changed the title Allow specifying a custom cluster file to YamlTestExtension Allow specifying a custom cluster file to FRL and YamlTestExtension Mar 17, 2025
@ScottDugas ScottDugas requested a review from alecgrieser March 17, 2025 19:43
@ScottDugas ScottDugas marked this pull request as ready for review March 17, 2025 19:43
@alecgrieser alecgrieser merged commit 2d5235a into FoundationDB:main Mar 17, 2025
5 checks passed
ScottDugas added a commit to ScottDugas/fdb-record-layer that referenced this pull request Mar 17, 2025
When publishing to JUnit xml style files there is no hierarchy, so
some tools will just show the class name and description, making it
hard to tell what tests were run, or failed. If YamlTestExtension
is used in an environment where that is the case this can be used
to have the output include the method name. For example:
- showcasingTests(Embedded)
- showcasingTests(MultiServer (Embedded then !current_version))
...

Instead of
- YamlIntegrationTests
  - showcasingTests(Runner)
    - Embedded
    - MultiServer (Embedded then !current_version)

I thought about making this configurable via system property, but
I think having it configured by a constructor parameter aligns more
with PRs FoundationDB#3252 and FoundationDB#3251
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing improvement Change that improves our testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants