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

increase timeout of search integration tests (for #28794)

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