mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
adding cpu count and ram to server info (#16109)
This commit is contained in:
@@ -128,6 +128,8 @@ export class ConnectionProvider {
|
||||
isCloud: false,
|
||||
azureVersion: 1,
|
||||
osVersion: '1',
|
||||
cpuCount: 1,
|
||||
physicalMemoryInMb: 1,
|
||||
options: connInfo.options
|
||||
}
|
||||
};
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"downloadUrl": "https://github.com/Microsoft/sqltoolsservice/releases/download/v{#version#}/microsoft.sqltools.servicelayer-{#fileName#}",
|
||||
"version": "3.0.0-release.110",
|
||||
"version": "3.0.0-release.111",
|
||||
"downloadFileNames": {
|
||||
"Windows_86": "win-x86-net5.0.zip",
|
||||
"Windows_64": "win-x64-net5.0.zip",
|
||||
|
||||
@@ -317,7 +317,9 @@ describe('Utils Tests', function () {
|
||||
isCloud: false,
|
||||
azureVersion: -1,
|
||||
osVersion: '',
|
||||
options: {}
|
||||
options: {},
|
||||
cpuCount: -1,
|
||||
physicalMemoryInMb: -1
|
||||
};
|
||||
it('empty endpoints does not error', () => {
|
||||
const serverInfo = Object.assign({}, baseServerInfo);
|
||||
|
||||
@@ -289,6 +289,8 @@ describe('Jupyter Session', function (): void {
|
||||
isCloud: false,
|
||||
azureVersion: 0,
|
||||
osVersion: '',
|
||||
cpuCount: 0,
|
||||
physicalMemoryInMb: -1,
|
||||
options: {
|
||||
isBigDataCluster: true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user