Skip to content

Commit

Permalink
Fix(cluster-client.test.js):Rollback to previous (#3507)
Browse files Browse the repository at this point in the history
Since '[email protected]' has fixed something imcompatable, so we
should rollback this unit test.
  • Loading branch information
Maledong authored and gxcsoccer committed Mar 4, 2019
1 parent f245674 commit 65bdd15
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions test/lib/cluster/cluster-client.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,8 @@ describe('test/lib/cluster/cluster-client.test.js', () => {
});
after(async () => {
await app.close();

assert(app.registryClient.isClusterClientLeader);
assert(app.agent.registryClient.isClusterClientLeader);
assert(app.registryClient[innerClient] === app.agent.registryClient[innerClient]);

const agentInnerClient = app.agent.registryClient[innerClient];
assert(agentInnerClient.closed === true);
assert(agentInnerClient._realClient.closed === true);
mm.restore();
});

Expand Down

0 comments on commit 65bdd15

Please sign in to comment.