mirror of
https://github.com/grpc/grpc-node.git
synced 2026-01-25 14:27:06 +00:00
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() {
|
||||
// with the default timeout the test times out under aarch64 emulator
|
||||
this.timeout(6000);
|
||||
// A size that is larger than the default limit
|
||||
const largeMessageSize = 8 * 1024 * 1024;
|
||||
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() {
|
||||
// with the default timeout the test times out under aarch64 emulator
|
||||
this.timeout(6000);
|
||||
let unrestrictedClient;
|
||||
before(function() {
|
||||
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() {
|
||||
// with the default timeout the test times out under aarch64 emulator
|
||||
this.timeout(6000);
|
||||
let restrictedServer;
|
||||
let restrictedServerClient;
|
||||
let restrictedServerClient2;
|
||||
|
||||
@ -48,7 +48,8 @@ var childExecArgv = [];
|
||||
|
||||
describe(`${anyGrpc.clientName} client -> ${anyGrpc.serverName} server`, 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) {
|
||||
for (let arg of process.argv) {
|
||||
if (arg.startsWith('--require=')) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user