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

Add minimal coverage for local Infinispan and for working with DevMode #984

Merged
merged 1 commit into from
Jan 12, 2023

Conversation

fedinskiy
Copy link
Contributor

Summary

Adds coverage for a bug, encountered in https://issues.redhat.com/browse/QUARKUS-2747.

The separate module was created, since application.properties files for this scenario and for scenarios in infinispan module are not compatible and we cannot customise them with per-app granularity, because of quarkus-qe/quarkus-test-framework#174.
The module has as little coverage as possible to minimise running time and consumed resources.

Please select the relevant options.

  • Bug fix (non-breaking change which fixes an issue)
  • Dependency update
  • Refactoring
  • Backport
  • New scenario (non-breaking change which adds functionality)
  • This change requires a documentation update
  • This change requires execution against OCP (use run tests phrase in comment)

Checklist:

  • Methods and classes used in PR scenarios are meaningful
  • Commits are well encapsulated and follow the best practices

@fedinskiy fedinskiy requested a review from pjgg January 10, 2023 16:16
@fedinskiy fedinskiy force-pushed the feature/devmode-infinspan branch 2 times, most recently from 4855a27 to ec4a0e4 Compare January 11, 2023 12:56
@fedinskiy fedinskiy added the triage/backport-2.13? It needs to backport changes to branch 2.13 label Jan 11, 2023
nosql-db/infinispan/pom.xml Show resolved Hide resolved
nosql-db/infinispan/pom.xml Show resolved Hide resolved
pom.xml Outdated Show resolved Hide resolved
import javax.ws.rs.Path;

@Path("/first-counter")
public class FirstCounterResource extends InfinispanCounterResource {
Copy link
Contributor

Choose a reason for hiding this comment

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

I am not sure if this class is required or if we can just move the Path definition to InfinispanCounterResource

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was copied from the infinispan-client module, so I may be wrong, but I presume this is required to guarantee, that we are addressing different beans

@fedinskiy fedinskiy force-pushed the feature/devmode-infinspan branch from ec4a0e4 to c85cea6 Compare January 11, 2023 16:28
@fedinskiy fedinskiy requested a review from pjgg January 11, 2023 16:33
Copy link
Contributor

@pjgg pjgg left a comment

Choose a reason for hiding this comment

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

Just minor cosmetic change :(

nosql-db/infinispan/pom.xml Outdated Show resolved Hide resolved
@fedinskiy fedinskiy force-pushed the feature/devmode-infinspan branch from c85cea6 to d39e523 Compare January 12, 2023 10:39
@fedinskiy fedinskiy force-pushed the feature/devmode-infinspan branch from d39e523 to 7c2ed5b Compare January 12, 2023 10:41
@fedinskiy fedinskiy requested a review from pjgg January 12, 2023 10:42
Copy link
Contributor

@pjgg pjgg left a comment

Choose a reason for hiding this comment

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

LGTM

@pjgg pjgg merged commit 654e276 into quarkus-qe:main Jan 12, 2023
@fedinskiy fedinskiy removed the triage/backport-2.13? It needs to backport changes to branch 2.13 label Jan 17, 2023
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.

2 participants