Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase timeout to 5 secs for tests that depend on a process #548

Merged
merged 1 commit into from
Sep 22, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/process/src/node/raw-process.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const expect = chai.expect;

describe('RawProcess', function () {

this.timeout(5000);
const rawProcessFactory = testContainer.get<RawProcessFactory>(RawProcessFactory);

it('test error on non existent path', function () {
Expand Down
1 change: 1 addition & 0 deletions packages/process/src/node/terminal-process.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const expect = chai.expect;

describe('TerminalProcess', function () {

this.timeout(5000);
const terminalProcessFactory = testContainer.get<TerminalProcessFactory>(TerminalProcessFactory);

it('test error on non existent path', function () {
Expand Down
2 changes: 2 additions & 0 deletions packages/terminal/src/node/shell-terminal-server.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ chai.use(chaiAsPromised);
const expect = chai.expect;

describe('ShellServer', function () {

this.timeout(5000);
const shellTerminalServer = testContainer.get<IShellTerminalServer>(IShellTerminalServer);

it('test shell terminal create', function () {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const expect = chai.expect;

describe('Terminal Backend Contribution', function () {

this.timeout(5000);
let server: http.Server;
let shellTerminalServer: IShellTerminalServer;

Expand Down
1 change: 1 addition & 0 deletions packages/terminal/src/node/terminal-server.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const expect = chai.expect;

describe('TermninalServer', function () {

this.timeout(5000);
const terminalServer = testContainer.get<ITerminalServer>(ITerminalServer);
const terminalWatcher = testContainer.get<TerminalWatcher>(TerminalWatcher);

Expand Down