-
Notifications
You must be signed in to change notification settings - Fork 923
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Synchronize HttpHeaderNames with Guava (#5789)
Motivation: `HttpHeaderNamesTest` failed locally because we omitted three headers when upgrading the Guava version to 33.2.0. We can't detect the problem from our CI builds since all fields of Guava `HttpHeaders` are removed by the `trimShadedJar` task on which the `build` task depends. The fields are actually used for testing. Modifications: - Keep `HttpHeaders` and `MediaType` of Guava from trimming to avoid unexpected test results. - Add `-PpreferShadedTests=<boolean>` option to run unshaded tests along with shaded tests - This option is disabled by default to avoid running the same tests twice. - Add missing headers to `HttpHeaderNames` Result: New headers from Guava have been added to `HttpHeaderNames`.
- Loading branch information
Showing
5 changed files
with
36 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters