mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-09 00:05:28 +01:00
Layer breaker in ipc.net.test.ts (fix #140982)
This commit is contained in:
@@ -16,9 +16,6 @@ import { createRandomIPCHandle, createStaticIPCHandle, NodeSocket, WebSocketNode
|
||||
import { flakySuite } from 'vs/base/test/common/testUtils';
|
||||
import { runWithFakedTimers } from 'vs/base/test/common/timeTravelScheduler';
|
||||
import { ensureNoDisposablesAreLeakedInTestSuite } from 'vs/base/test/common/utils';
|
||||
// TODO@layers
|
||||
// eslint-disable-next-line code-import-patterns
|
||||
import product from 'vs/platform/product/common/product';
|
||||
|
||||
class MessageStream extends Disposable {
|
||||
|
||||
@@ -547,7 +544,7 @@ flakySuite('IPC, create handle', () => {
|
||||
});
|
||||
|
||||
test('createStaticIPCHandle', async () => {
|
||||
return testIPCHandle(createStaticIPCHandle(tmpdir(), 'test', product.version));
|
||||
return testIPCHandle(createStaticIPCHandle(tmpdir(), 'test', '1.64.0'));
|
||||
});
|
||||
|
||||
function testIPCHandle(handle: string): Promise<void> {
|
||||
|
||||
@@ -14,5 +14,4 @@ export interface IProductService extends Readonly<IProductConfiguration> {
|
||||
|
||||
}
|
||||
|
||||
|
||||
export const productSchemaId = 'vscode://schemas/vscode-product';
|
||||
|
||||
Reference in New Issue
Block a user