Skip to content

Commit 9b39a9b

Browse files
author
Dongwei Wang
committed
Refresh workspace test session records
1 parent bea35e5 commit 9b39a9b

File tree

2 files changed

+372
-462
lines changed

2 files changed

+372
-462
lines changed

src/Synapse/Synapse.Test/ScenarioTests/WorkspaceTests.ps1

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -91,32 +91,6 @@ function Test-SynapseWorkspace
9191
}
9292
Assert-True {$found -eq 1} "Workspace created earlier is not found when listing all in resource group: $resourceGroupName."
9393

94-
<<<<<<< HEAD
95-
# Unable to deserialize results in `Get-AzSynapseWorkspace`
96-
# TODO: Update test after SDK upgrade
97-
98-
# List all Workspaces in subscription
99-
100-
# [array]$workspacesInSubscription = Get-AzSynapseWorkspace
101-
# Assert-True {$workspacesInSubscription.Count -ge 1}
102-
# Assert-True {$workspacesInSubscription.Count -ge $workspacesInResourceGroup.Count}
103-
#
104-
# $found = 0
105-
# for ($i = 0; $i -lt $workspacesInSubscription.Count; $i++)
106-
# {
107-
# if ($workspacesInSubscription[$i].Name -eq $workspaceName)
108-
# {
109-
# $found = 1
110-
# Assert-AreEqual $location $workspacesInSubscription[$i].Location
111-
# Assert-AreEqual "Microsoft.Synapse/workspaces" $workspacesInSubscription[$i].Type
112-
# Assert-True {$workspacesInSubscription[$i].Id -like "*$resourceGroupName*"}
113-
# break
114-
# }
115-
# }
116-
# Assert-True {$found -eq 1} "Workspace created earlier is not found when listing all in subscription."
117-
118-
=======
119-
>>>>>>> e8840237e1... Refresh session records
12094
# Delete workspace
12195
Assert-True {Remove-AzSynapseWorkspace -ResourceGroupName $resourceGroupName -Name $workspaceName -PassThru -Force} "Remove Workspace failed."
12296

@@ -473,11 +447,7 @@ function Get-WorkspaceEncryptionTestEnvironmentParameters ($testSuffix)
473447
fileSystemName = "wscmdletfs" + $testSuffix;
474448
loginName = "testlogin";
475449
pwd = "testp@ssMakingIt1007Longer";
476-
<<<<<<< HEAD
477-
location = "eastus2euap";
478-
=======
479450
location = "canadacentral";
480-
>>>>>>> e8840237e1... Refresh session records
481451
encryptionKeyIdentifier = "<your-encryptionKeyIdentifier>";
482452
}
483453
}

0 commit comments

Comments
 (0)