diff --git a/sdk/storage/assets.json b/sdk/storage/assets.json index 1f1a7dca6e..a258176d8f 100644 --- a/sdk/storage/assets.json +++ b/sdk/storage/assets.json @@ -2,5 +2,5 @@ "AssetsRepo": "Azure/azure-sdk-assets", "AssetsRepoPrefixPath": "cpp", "TagPrefix": "cpp/storage", - "Tag": "cpp/storage_d6f16e37a3" + "Tag": "cpp/storage_d053ec409e" } diff --git a/sdk/storage/azure-storage-queues/test/ut/queue_client_messages_test.cpp b/sdk/storage/azure-storage-queues/test/ut/queue_client_messages_test.cpp index 93f8dbb45b..a9a516e5e7 100644 --- a/sdk/storage/azure-storage-queues/test/ut/queue_client_messages_test.cpp +++ b/sdk/storage/azure-storage-queues/test/ut/queue_client_messages_test.cpp @@ -35,13 +35,13 @@ namespace Azure { namespace Storage { namespace Test { const std::string message = "message content."; Queues::EnqueueMessageOptions enqueueOptions; enqueueOptions.VisibilityTimeout = std::chrono::seconds(1); - enqueueOptions.TimeToLive = std::chrono::seconds(2); + enqueueOptions.TimeToLive = std::chrono::seconds(3); auto res = queueClient.EnqueueMessage(message, enqueueOptions).Value; EXPECT_TRUE(queueClient.PeekMessages().Value.Messages.empty()); - TestSleep(std::chrono::milliseconds(1200)); + TestSleep(std::chrono::milliseconds(1100)); EXPECT_FALSE(queueClient.PeekMessages().Value.Messages.empty()); - TestSleep(std::chrono::milliseconds(1200)); + TestSleep(std::chrono::milliseconds(2000)); EXPECT_TRUE(queueClient.PeekMessages().Value.Messages.empty()); enqueueOptions = Queues::EnqueueMessageOptions();