add logging and go back to latest

This commit is contained in:
Tyler Leonhardt 2021-11-24 10:57:57 -08:00
parent a7a6ad0086
commit 5386fbb292
No known key found for this signature in database
GPG key ID: 1BC2B6244363E77E
3 changed files with 12 additions and 2 deletions

View file

@ -152,7 +152,7 @@ stages:
dependsOn:
- Compile
pool:
vmImage: windows-2019
vmImage: windows-latest
jobs:
- ${{ if eq(parameters.VSCODE_BUILD_WIN32, true) }}:
- job: Windows

View file

@ -35,7 +35,7 @@ stages:
- stage: Windows
condition: eq(variables.SCAN_WINDOWS, 'true')
pool:
vmImage: windows-2019
vmImage: windows-latest
jobs:
- job: WindowsJob
timeoutInMinutes: 0

View file

@ -11,6 +11,7 @@ import { URI } from 'vs/base/common/uri';
import { IFolderQuery, QueryType, IRawFileMatch } from 'vs/workbench/services/search/common/search';
import { Engine as FileSearchEngine, FileWalker } from 'vs/workbench/services/search/node/fileSearch';
import { flakySuite, getPathFromAmdModule } from 'vs/base/test/node/testUtils';
import { readdirSync } from 'fs';
const TEST_FIXTURES = path.normalize(getPathFromAmdModule(require, './fixtures'));
const EXAMPLES_FIXTURES = URI.file(path.join(TEST_FIXTURES, 'examples'));
@ -482,6 +483,15 @@ flakySuite('FileSearchEngine', () => {
includePattern: { '**/üm laut汉语/*': true }
});
console.log('log thing');
readdirSync(TEST_FIXTURES).forEach(function (fixtureFolder) {
console.log('1: ' + fixtureFolder);
});
readdirSync(`${TEST_FIXTURES}\\üm laut汉语`).forEach(function (fixtureFolder) {
console.log('2: ' + fixtureFolder);
});
let count = 0;
engine.search((result) => {
if (result) {