提交 0398ed29 编写于 作者: B Benjamin Pasero

increase timeout of search integration tests (for #28794)

上级 43cedf1f
...@@ -85,6 +85,8 @@ function doSearchTest(config: IRawSearch, expectedResultCount: number, done) { ...@@ -85,6 +85,8 @@ function doSearchTest(config: IRawSearch, expectedResultCount: number, done) {
suite('Search-integration', () => { suite('Search-integration', () => {
test('Text: GameOfLife', function (done: () => void) { test('Text: GameOfLife', function (done: () => void) {
this.timeout(1000 * 60); // increase timeout for this one test
let config = { let config = {
rootFolders: rootfolders(), rootFolders: rootfolders(),
filePattern: '*.js', filePattern: '*.js',
...@@ -95,6 +97,8 @@ suite('Search-integration', () => { ...@@ -95,6 +97,8 @@ suite('Search-integration', () => {
}); });
test('Text: GameOfLife (RegExp)', function (done: () => void) { test('Text: GameOfLife (RegExp)', function (done: () => void) {
this.timeout(1000 * 60); // increase timeout for this one test
let config = { let config = {
rootFolders: rootfolders(), rootFolders: rootfolders(),
filePattern: '*.js', filePattern: '*.js',
...@@ -105,6 +109,8 @@ suite('Search-integration', () => { ...@@ -105,6 +109,8 @@ suite('Search-integration', () => {
}); });
test('Text: GameOfLife (RegExp to EOL)', function (done: () => void) { test('Text: GameOfLife (RegExp to EOL)', function (done: () => void) {
this.timeout(1000 * 60); // increase timeout for this one test
let config = { let config = {
rootFolders: rootfolders(), rootFolders: rootfolders(),
filePattern: '*.js', filePattern: '*.js',
...@@ -115,6 +121,8 @@ suite('Search-integration', () => { ...@@ -115,6 +121,8 @@ suite('Search-integration', () => {
}); });
test('Text: GameOfLife (Word Match, Case Sensitive)', function (done: () => void) { test('Text: GameOfLife (Word Match, Case Sensitive)', function (done: () => void) {
this.timeout(1000 * 60); // increase timeout for this one test
let config = { let config = {
rootFolders: rootfolders(), rootFolders: rootfolders(),
filePattern: '*.js', filePattern: '*.js',
...@@ -125,6 +133,8 @@ suite('Search-integration', () => { ...@@ -125,6 +133,8 @@ suite('Search-integration', () => {
}); });
test('Text: GameOfLife (Word Match, Spaces)', function (done: () => void) { test('Text: GameOfLife (Word Match, Spaces)', function (done: () => void) {
this.timeout(1000 * 60); // increase timeout for this one test
let config = { let config = {
rootFolders: rootfolders(), rootFolders: rootfolders(),
filePattern: '*.js', filePattern: '*.js',
...@@ -135,6 +145,8 @@ suite('Search-integration', () => { ...@@ -135,6 +145,8 @@ suite('Search-integration', () => {
}); });
test('Text: GameOfLife (Word Match, Punctuation and Spaces)', function (done: () => void) { test('Text: GameOfLife (Word Match, Punctuation and Spaces)', function (done: () => void) {
this.timeout(1000 * 60); // increase timeout for this one test
let config = { let config = {
rootFolders: rootfolders(), rootFolders: rootfolders(),
filePattern: '*.js', filePattern: '*.js',
...@@ -145,6 +157,8 @@ suite('Search-integration', () => { ...@@ -145,6 +157,8 @@ suite('Search-integration', () => {
}); });
test('Text: Helvetica (UTF 16)', function (done: () => void) { test('Text: Helvetica (UTF 16)', function (done: () => void) {
this.timeout(1000 * 60); // increase timeout for this one test
let config = { let config = {
rootFolders: rootfolders(), rootFolders: rootfolders(),
filePattern: '*.css', filePattern: '*.css',
...@@ -155,6 +169,8 @@ suite('Search-integration', () => { ...@@ -155,6 +169,8 @@ suite('Search-integration', () => {
}); });
test('Text: e', function (done: () => void) { test('Text: e', function (done: () => void) {
this.timeout(1000 * 60); // increase timeout for this one test
let config = { let config = {
rootFolders: rootfolders(), rootFolders: rootfolders(),
filePattern: '*.*', filePattern: '*.*',
...@@ -165,6 +181,8 @@ suite('Search-integration', () => { ...@@ -165,6 +181,8 @@ suite('Search-integration', () => {
}); });
test('Text: e (with excludes)', function (done: () => void) { test('Text: e (with excludes)', function (done: () => void) {
this.timeout(1000 * 60); // increase timeout for this one test
let config: any = { let config: any = {
rootFolders: rootfolders(), rootFolders: rootfolders(),
filePattern: '*.*', filePattern: '*.*',
...@@ -176,6 +194,8 @@ suite('Search-integration', () => { ...@@ -176,6 +194,8 @@ suite('Search-integration', () => {
}); });
test('Text: e (with includes)', function (done: () => void) { test('Text: e (with includes)', function (done: () => void) {
this.timeout(1000 * 60); // increase timeout for this one test
let config: any = { let config: any = {
rootFolders: rootfolders(), rootFolders: rootfolders(),
filePattern: '*.*', filePattern: '*.*',
...@@ -187,6 +207,8 @@ suite('Search-integration', () => { ...@@ -187,6 +207,8 @@ suite('Search-integration', () => {
}); });
test('Text: e (with includes and exclude)', function (done: () => void) { test('Text: e (with includes and exclude)', function (done: () => void) {
this.timeout(1000 * 60); // increase timeout for this one test
let config: any = { let config: any = {
rootFolders: rootfolders(), rootFolders: rootfolders(),
filePattern: '*.*', filePattern: '*.*',
...@@ -199,6 +221,8 @@ suite('Search-integration', () => { ...@@ -199,6 +221,8 @@ suite('Search-integration', () => {
}); });
test('Text: a (capped)', function (done: () => void) { test('Text: a (capped)', function (done: () => void) {
this.timeout(1000 * 60); // increase timeout for this one test
const maxResults = 520; const maxResults = 520;
let config = { let config = {
rootFolders: rootfolders(), rootFolders: rootfolders(),
...@@ -215,6 +239,8 @@ suite('Search-integration', () => { ...@@ -215,6 +239,8 @@ suite('Search-integration', () => {
}); });
test('Text: a (no results)', function (done: () => void) { test('Text: a (no results)', function (done: () => void) {
this.timeout(1000 * 60); // increase timeout for this one test
let config = { let config = {
rootFolders: rootfolders(), rootFolders: rootfolders(),
filePattern: '*.*', filePattern: '*.*',
...@@ -225,6 +251,8 @@ suite('Search-integration', () => { ...@@ -225,6 +251,8 @@ suite('Search-integration', () => {
}); });
test('Text: -size', function (done: () => void) { test('Text: -size', function (done: () => void) {
this.timeout(1000 * 60); // increase timeout for this one test
let config = { let config = {
rootFolders: rootfolders(), rootFolders: rootfolders(),
filePattern: '*.css', filePattern: '*.css',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册