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

Contributed by Sneha Vijayarajan.
This commit is contained in:
Sneha Vijayarajan 2020-11-26 15:51:01 +05:30 committed by GitHub
parent 009ce4f02a
commit cf43a7eaae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

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

View File

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