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

Adapt main to Quarkus 999-SNAPSHOT #238

Merged
merged 1 commit into from
Sep 8, 2021
Merged

Conversation

Sgitario
Copy link
Contributor

@Sgitario Sgitario commented Sep 8, 2021

This change is caused by quarkusio/quarkus#19875 which as far I understood, it's not going to be reverted or fixed.

Guides updates in quarkusio/quarkus#19995

@@ -27,6 +24,6 @@ public void shouldDataSourceBeProperlyConfigured() {
}

private static final RequestSpecification dataSourcePath() {
return given().accept(MediaType.APPLICATION_JSON).contentType(ContentType.JSON).when().basePath(DATA_SOURCE_PATH);
return given().when().basePath(DATA_SOURCE_PATH);
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 wrong and using reactive fails which I think it's expected. It's now corrected.

@jsmrcka
Copy link
Contributor

jsmrcka commented Sep 8, 2021

spring/spring-data/pom.xml Show resolved Hide resolved
@@ -63,6 +65,8 @@ public void testRequestScope() {
//This is for regression test for https://github.com/quarkusio/quarkus/pull/12234
@Test
@DisplayName("session scope")
@DisabledOnQuarkusVersion(version = "2.3.*", reason = "quarkus-spring-data-rest is now reactive")
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it temporary fix? Because it looks like quarkusio/quarkus#12233 is about spring DI and should be orthogonal to spring-data

Copy link
Contributor Author

Choose a reason for hiding this comment

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

As it now uses reactive approach, I would say it's a permanent fix. Wdyt @jsmrcka ?

Copy link
Contributor

Choose a reason for hiding this comment

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

TBH, I don't understand why this doesn't work with reactive approach.

And also, why is it disabled just for 2.3.*? I suppose it's not going to work for any future version.

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 is a good point... as I dropped the undertow dependency, this is not going to work ever, so we should delete this test case.

It does not work because the reactive approach does not propagate the session id.

@Sgitario
Copy link
Contributor Author

Sgitario commented Sep 8, 2021

This change is caused by quarkusio/quarkus#19875 which as far I understood, it's not going to be reverted or fixed.

Guides updates in quarkusio/quarkus#19995
@fedinskiy fedinskiy self-requested a review September 8, 2021 13:17
@Sgitario Sgitario merged commit aec321a into quarkus-qe:main Sep 8, 2021
@Sgitario Sgitario deleted the use_999 branch September 8, 2021 14:58
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