File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/ResourceManager/Storage/Commands.Management.Storage.Test/ScenarioTests Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -160,15 +160,15 @@ function Test-Blob
160
160
$task.Wait ()
161
161
$snapshot = $task.Result
162
162
$blob = Get-AzStorageBlob - Container $containerName - Context $storageContext | Where-Object {$_.Name -eq $pageBlobName1 }
163
- Assert-AreEqual $blob.Count 2 # INVESTIGATE, sometimes fails
163
+ Assert-AreEqual $blob.Count 2
164
164
Assert-AreEqual $blob [0 ].ICloudBlob.IsSnapshot $true
165
165
Assert-AreEqual $blob [1 ].ICloudBlob.IsSnapshot $false
166
166
167
167
# Copy snapshot of the source page blob to a destination page blob. The snapshot is copied such that only differential changes
168
168
# between the previously copied snapshot are transferred to the destination.
169
169
Start-AzStorageBlobIncrementalCopy - srcContainer $containerName - SrcBlob $pageBlobName1 - SrcBlobSnapshotTime $snapshot.SnapshotTime - DestContainer $containerName - DestBlob $pageBlobName2 - Context $storageContext - DestContext $storageContext
170
170
$blob = Get-AzStorageBlob - Container $containerName - Context $storageContext | Where-Object {$_.Name -eq $pageBlobName2 }
171
- Assert-AreEqual $blob.Count 2
171
+ Assert-AreEqual $blob.Count 2 # INVESTIGATE, sometimes fails
172
172
Assert-AreEqual $blob [0 ].ICloudBlob.IsSnapshot $true
173
173
Assert-AreEqual $blob [1 ].ICloudBlob.IsSnapshot $false
174
174
@@ -425,4 +425,4 @@ function New-TestResourceGroupAndStorageAccount
425
425
$storageAccountType = ' Standard_LRS' # Standard Geo-Reduntand Storage
426
426
New-AzureRmResourceGroup - Name $ResourceGroupName - Location $location
427
427
New-AzureRmStorageAccount - Name $storageAccountName - ResourceGroupName $ResourceGroupName - Location $location - Type $storageAccountType
428
- }
428
+ }
You can’t perform that action at this time.
0 commit comments