HADOOP-17397. ABFS: SAS Test updates for version and permission update (#2492)

Contributed by Sneha Vijayarajan.

Change-Id: I89c1061b1efb1e3bef019dd22f221d03bf015929
This commit is contained in:
Sneha Vijayarajan 2020-11-26 15:51:01 +05:30 committed by Steve Loughran
parent 39fa2c93c4
commit c48c774d6c
No known key found for this signature in database
GPG Key ID: D22CF846DBB162A0
2 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ public class DelegationSASGenerator extends SASGenerator {
break;
case SASTokenProvider.SET_ACL_OPERATION:
case SASTokenProvider.SET_PERMISSION_OPERATION:
sp = "p";
sp = "op";
break;
case SASTokenProvider.SET_OWNER_OPERATION:
sp = "o";

View File

@ -38,7 +38,7 @@ public class ServiceSASGenerator extends SASGenerator {
public String getContainerSASWithFullControl(String accountName, String containerName) {
String sp = "rcwdl";
String sv = AuthenticationVersion.Nov18.toString();
String sv = AuthenticationVersion.Feb20.toString();
String sr = "c";
String st = ISO_8601_FORMATTER.format(Instant.now().minus(FIVE_MINUTES));
String se = ISO_8601_FORMATTER.format(Instant.now().plus(ONE_DAY));