mirror of https://github.com/grpc/grpc-node.git
Merge pull request #1803 from jtattermusch/emulator_increase_timeout
Increase timeout for tests that timeout under emulator
This commit is contained in:
commit
1c3cd458b6
|
|
@ -197,6 +197,8 @@ describe(`${anyGrpc.clientName} client -> ${anyGrpc.serverName} server`, functio
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
describe('max message size', function() {
|
describe('max message size', function() {
|
||||||
|
// with the default timeout the test times out under aarch64 emulator
|
||||||
|
this.timeout(6000);
|
||||||
// A size that is larger than the default limit
|
// A size that is larger than the default limit
|
||||||
const largeMessageSize = 8 * 1024 * 1024;
|
const largeMessageSize = 8 * 1024 * 1024;
|
||||||
const largeMessage = Buffer.alloc(largeMessageSize);
|
const largeMessage = Buffer.alloc(largeMessageSize);
|
||||||
|
|
@ -238,6 +240,8 @@ describe(`${anyGrpc.clientName} client -> ${anyGrpc.serverName} server`, functio
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
describe('with a client with no message size limits', function() {
|
describe('with a client with no message size limits', function() {
|
||||||
|
// with the default timeout the test times out under aarch64 emulator
|
||||||
|
this.timeout(6000);
|
||||||
let unrestrictedClient;
|
let unrestrictedClient;
|
||||||
before(function() {
|
before(function() {
|
||||||
const ca_path = path.join(__dirname, '../data/ca.pem');
|
const ca_path = path.join(__dirname, '../data/ca.pem');
|
||||||
|
|
@ -283,6 +287,8 @@ describe(`${anyGrpc.clientName} client -> ${anyGrpc.serverName} server`, functio
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
describe('with a server with message size limits and a client without limits', function() {
|
describe('with a server with message size limits and a client without limits', function() {
|
||||||
|
// with the default timeout the test times out under aarch64 emulator
|
||||||
|
this.timeout(6000);
|
||||||
let restrictedServer;
|
let restrictedServer;
|
||||||
let restrictedServerClient;
|
let restrictedServerClient;
|
||||||
let restrictedServerClient2;
|
let restrictedServerClient2;
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,8 @@ var childExecArgv = [];
|
||||||
|
|
||||||
describe(`${anyGrpc.clientName} client -> ${anyGrpc.serverName} server`, function() {
|
describe(`${anyGrpc.clientName} client -> ${anyGrpc.serverName} server`, function() {
|
||||||
describe('Interop tests', function() {
|
describe('Interop tests', function() {
|
||||||
this.timeout(4000);
|
// with the default timeout the test times out under aarch64 emulator
|
||||||
|
this.timeout(10000);
|
||||||
before(function(done) {
|
before(function(done) {
|
||||||
for (let arg of process.argv) {
|
for (let arg of process.argv) {
|
||||||
if (arg.startsWith('--require=')) {
|
if (arg.startsWith('--require=')) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue