kerneltime commented on code in PR #4377:
URL: https://github.com/apache/ozone/pull/4377#discussion_r1133496602
##########
hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/security/TestAWSV4AuthValidator.java:
##########
@@ -64,15 +67,25 @@ public static Collection<Object[]> data() {
"577efef23edd43b7e1a59",
"5d672d79c15b13162d9279b0855cfba" +
"6789a8edb4c82c400e06b5924a6f2b5d7",
- "wJalrXUtnFEMI/K7MDENG+bPxRfiCYEXAMPLEKEY"
+ "wJalrXUtnFEMI/K7MDENG+bPxRfiCYEXAMPLEKEY",
+ true
+ },
+ {
+ "PUT\n" +
Review Comment:
Can we add a few more test cases? Will the regex flag `AWS4-ZAVC-HJUA123` in
the start of the header? The regular expression added is the main entity to
check here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]