Skip to content

Commit 9271984

Browse files
authored
Merge pull request #2423 from murgatroid99/grpc-js_waitForReady_fix_fix
grpc-js: Fix a couple of errors from a previous PR
2 parents 9dec365 + 3709998 commit 9271984

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

packages/grpc-js/src/subchannel.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,6 @@ export class Subchannel {
227227
}
228228
const previousState = this.connectivityState;
229229
this.connectivityState = newState;
230-
process.nextTick(() => {
231-
});
232230
switch (newState) {
233231
case ConnectivityState.READY:
234232
this.stopBackoff();

packages/grpc-js/test/test-global-subchannel-pool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const protoFile = path.join(__dirname, 'fixtures', 'echo_service.proto');
2727
const echoService =
2828
loadProtoFile(protoFile).EchoService as ServiceClientConstructor;
2929

30-
describe.only('Global subchannel pool', () => {
30+
describe('Global subchannel pool', () => {
3131
let server: Server;
3232
let serverPort: number;
3333

0 commit comments

Comments
 (0)