diff --git a/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/utils/DelegationSASGenerator.java b/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/utils/DelegationSASGenerator.java index 6f2209a6e8..5427469ec1 100644 --- a/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/utils/DelegationSASGenerator.java +++ b/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/utils/DelegationSASGenerator.java @@ -88,7 +88,7 @@ public String getDelegationSAS(String accountName, String containerName, String break; case SASTokenProvider.SET_ACL_OPERATION: case SASTokenProvider.SET_PERMISSION_OPERATION: - sp = "p"; + sp = "op"; break; case SASTokenProvider.SET_OWNER_OPERATION: sp = "o"; diff --git a/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/utils/ServiceSASGenerator.java b/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/utils/ServiceSASGenerator.java index 3d8496eff8..24a1cea255 100644 --- a/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/utils/ServiceSASGenerator.java +++ b/hadoop-tools/hadoop-azure/src/test/java/org/apache/hadoop/fs/azurebfs/utils/ServiceSASGenerator.java @@ -38,7 +38,7 @@ public ServiceSASGenerator(byte[] accountKey) { 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));