-
Notifications
You must be signed in to change notification settings - Fork 36
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 Brotli4J compression related classes, files and dependencies #1717
Conversation
f3f5f05
to
da67735
Compare
9fd6151
to
5c90b81
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding coverage @jcarranzan. I have some comments most of them are minor.
Looking at the test plan I see that you plan to test it with openshift. Will this testcoverage part of this PR or it will be separate PR? I think it can be part of this PR but leave the decision up to you
Also can you modify commit message not to include squashed commit messages to keep it more clean.
...ed-reactive/src/main/java/io/quarkus/ts/http/advanced/reactive/Brotli4JHttpServerConfig.java
Outdated
Show resolved
Hide resolved
...p-advanced-reactive/src/main/java/io/quarkus/ts/http/advanced/reactive/Brotli4JResource.java
Outdated
Show resolved
Hide resolved
...p-advanced-reactive/src/main/java/io/quarkus/ts/http/advanced/reactive/Brotli4JRestMock.java
Outdated
Show resolved
Hide resolved
http/http-advanced-reactive/src/main/resources/json_sample.json
Outdated
Show resolved
Hide resolved
...p-advanced-reactive/src/main/java/io/quarkus/ts/http/advanced/reactive/Brotli4JResource.java
Outdated
Show resolved
Hide resolved
...ttp-advanced-reactive/src/test/java/io/quarkus/ts/http/advanced/reactive/Brotli4JHttpIT.java
Outdated
Show resolved
Hide resolved
...ttp-advanced-reactive/src/test/java/io/quarkus/ts/http/advanced/reactive/Brotli4JHttpIT.java
Outdated
Show resolved
Hide resolved
...ttp-advanced-reactive/src/test/java/io/quarkus/ts/http/advanced/reactive/Brotli4JHttpIT.java
Outdated
Show resolved
Hide resolved
...ttp-advanced-reactive/src/test/java/io/quarkus/ts/http/advanced/reactive/Brotli4JHttpIT.java
Outdated
Show resolved
Hide resolved
...ttp-advanced-reactive/src/test/java/io/quarkus/ts/http/advanced/reactive/Brotli4JHttpIT.java
Outdated
Show resolved
Hide resolved
Hi, yes I will include Openshift coverage in this PR, and also another test about big file compression (>8192 bytes), I 'll let you know it when is ready. |
27b637d
to
05b23d3
Compare
...ed-reactive/src/main/java/io/quarkus/ts/http/advanced/reactive/Brotli4JHttpServerConfig.java
Outdated
Show resolved
Hide resolved
...p-advanced-reactive/src/main/java/io/quarkus/ts/http/advanced/reactive/Brotli4JResource.java
Outdated
Show resolved
Hide resolved
...p-advanced-reactive/src/main/java/io/quarkus/ts/http/advanced/reactive/Brotli4JRestMock.java
Show resolved
Hide resolved
http/http-advanced-reactive/src/test/resources/compression.properties
Outdated
Show resolved
Hide resolved
...p-advanced-reactive/src/main/java/io/quarkus/ts/http/advanced/reactive/Brotli4JRestMock.java
Outdated
Show resolved
Hide resolved
...p-advanced-reactive/src/main/java/io/quarkus/ts/http/advanced/reactive/Brotli4JRestMock.java
Outdated
Show resolved
Hide resolved
...ttp-advanced-reactive/src/test/java/io/quarkus/ts/http/advanced/reactive/Brotli4JHttpIT.java
Outdated
Show resolved
Hide resolved
...ttp-advanced-reactive/src/test/java/io/quarkus/ts/http/advanced/reactive/Brotli4JHttpIT.java
Outdated
Show resolved
Hide resolved
...ttp-advanced-reactive/src/test/java/io/quarkus/ts/http/advanced/reactive/Brotli4JHttpIT.java
Outdated
Show resolved
Hide resolved
...ttp-advanced-reactive/src/test/java/io/quarkus/ts/http/advanced/reactive/Brotli4JHttpIT.java
Outdated
Show resolved
Hide resolved
...ed-reactive/src/main/java/io/quarkus/ts/http/advanced/reactive/Brotli4JHttpServerConfig.java
Outdated
Show resolved
Hide resolved
...p-advanced-reactive/src/main/java/io/quarkus/ts/http/advanced/reactive/Brotli4JRestMock.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
You have marked
This change requires a documentation update
but there is no docs update. Please add docs update. -
You have marked
Dependency update
, I'll respect your choice, but I think it's meant for a bump. I am not sure I'd call adding dep an update.
...ttp-advanced-reactive/src/test/java/io/quarkus/ts/http/advanced/reactive/Brotli4JHttpIT.java
Outdated
Show resolved
Hide resolved
...ttp-advanced-reactive/src/test/java/io/quarkus/ts/http/advanced/reactive/Brotli4JHttpIT.java
Outdated
Show resolved
Hide resolved
On the other hand there are issues loading the files, so I'll investigate deeper if there is something in the code (like readAllBytes() method) that could be the root cause of this error. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for updating all the coments overal it's loog good. I have just 3 small comments and one question
...ttp-advanced-reactive/src/test/java/io/quarkus/ts/http/advanced/reactive/Brotli4JHttpIT.java
Show resolved
Hide resolved
...ttp-advanced-reactive/src/test/java/io/quarkus/ts/http/advanced/reactive/Brotli4JHttpIT.java
Show resolved
Hide resolved
...anced-reactive/src/test/java/io/quarkus/ts/http/advanced/reactive/DevModeBrotli4JHttpIT.java
Show resolved
Hide resolved
...ttp-advanced-reactive/src/test/java/io/quarkus/ts/http/advanced/reactive/Brotli4JHttpIT.java
Outdated
Show resolved
Hide resolved
Try https://quarkus.io/guides/all-config#quarkus-core_quarkus-native-resources-includes. |
As of now. the failing tests should be disabled. Please rebase on the current main next time you push changes. |
08c87a7
to
df63604
Compare
run tests |
Following jobs contain at least one flaky test: 'PR - Linux - JVM build - Latest Version' |
1 similar comment
Following jobs contain at least one flaky test: 'PR - Linux - JVM build - Latest Version' |
183bf65
to
18c8d16
Compare
run tests |
Following jobs contain at least one flaky test: 'PR - Linux - JVM build - Latest Version' |
fbe1cfd
to
e452bf4
Compare
Issue related to native mode execution created here--> quarkusio/quarkus#40533 |
@jcarranzan Looking at this it's loog good. Just one question as the quarkusio/quarkus#40533 is not just on openshift but also occuring on baremetal shouldn't be I run it localy using |
Yes, it should be disabled also on baremetal in this case. I will push my changes right now. |
disable on native mode add @DisabledOnNative also on baremetal add @DisabledOnNative also on baremetal
8278975
to
57fb1ff
Compare
run tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for update!. Now it look good.
CI is green + native modules was executed this time so merging |
Summary
Test Coverage:
Test Scenarios Covered:
Please select the relevant options.
run tests
phrase in comment)Checklist: