From 9262de90ecd048c95bbf2699ad58d1a14476a216 Mon Sep 17 00:00:00 2001 From: Andrew Smith Date: Thu, 23 Jan 2020 15:58:20 -0800 Subject: [PATCH] Refresh SAS token for CI tests (#2217) (#2371) * refresh sas token for CI tests * change expiry to 2025 --- .../TokenHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/edge-util/test/Microsoft.Azure.Devices.Edge.Util.Test.Common/TokenHelper.cs b/edge-util/test/Microsoft.Azure.Devices.Edge.Util.Test.Common/TokenHelper.cs index dc71b74ad52..a058ab10dc3 100644 --- a/edge-util/test/Microsoft.Azure.Devices.Edge.Util.Test.Common/TokenHelper.cs +++ b/edge-util/test/Microsoft.Azure.Devices.Edge.Util.Test.Common/TokenHelper.cs @@ -9,7 +9,7 @@ namespace Microsoft.Azure.Devices.Edge.Util.Test.Common public static class TokenHelper { public static string CreateSasToken(string resourceUri, string key = null, bool expired = false) => - CreateSasToken(resourceUri, expired ? new DateTime(2010, 1, 1) : new DateTime(2020, 1, 1), key); + CreateSasToken(resourceUri, expired ? new DateTime(2010, 1, 1) : new DateTime(2025, 1, 1), key); public static string CreateSasToken(string resourceUri, DateTime expiryTime, string key = null) {