mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-27 01:25:36 -05:00
Fixing async server tree error handling and removing timeout. (#22955)
* Fixing async server tree issues and removing timeout * removing empty results for connection errors * Fixing error message fetching * Update src/sql/workbench/services/objectExplorer/browser/asyncServerTreeDataSource.ts Co-authored-by: Charles Gagnon <chgagnon@microsoft.com> --------- Co-authored-by: Charles Gagnon <chgagnon@microsoft.com>
This commit is contained in:
@@ -288,9 +288,7 @@ suite('SQL Object Explorer Service tests', () => {
|
||||
connectionManagementService.object,
|
||||
new NullAdsTelemetryService(),
|
||||
capabilitiesService,
|
||||
logService,
|
||||
configurationService.object,
|
||||
notificationService.object);
|
||||
logService);
|
||||
|
||||
objectExplorerService.registerProvider(mssqlProviderName, sqlOEProvider.object);
|
||||
sqlOEProvider.setup(x => x.createNewSession(TypeMoq.It.is<azdata.ConnectionInfo>(x => x.options['serverName'] === connection.serverName))).returns(() => new Promise<any>((resolve) => {
|
||||
|
||||
Reference in New Issue
Block a user