Skip to content

Commit 3709998

Browse files
committed
grpc-js: Fix a couple of errors from a previous PR
1 parent 29c31a1 commit 3709998

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)