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

Run Elasticsearch-dependent tests also in CI #244

Open
Pfeil opened this issue Dec 2, 2024 · 0 comments
Open

Run Elasticsearch-dependent tests also in CI #244

Pfeil opened this issue Dec 2, 2024 · 0 comments
Labels
maintenance Not a bug, but should be done.

Comments

@Pfeil
Copy link
Member

Pfeil commented Dec 2, 2024

Is your feature request related to a problem? Please describe.

We have a few deactivated tests for Elasticsearch which currently need to be run manually.

Describe the solution you'd like

There is a simple solution to have an ES container spawned just for testing, using this in the build gradle file:

    testImplementation "org.testcontainers:testcontainers:1.20.0"
    testImplementation "org.testcontainers:junit-jupiter:1.20.0"
    testImplementation "org.testcontainers:elasticsearch:1.20.0"

But: It has to be tested if this actually works in the GitHub CI.

Describe alternatives you've considered

Boring scripts, lame mocking, ...

Additional context

@Pfeil Pfeil added the maintenance Not a bug, but should be done. label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Not a bug, but should be done.
Projects
None yet
Development

No branches or pull requests

1 participant