Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rmccallum81 committed May 2, 2018
1 parent c898a9a commit bbc5d56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/service.lifecycle.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ describe("Test Service handlerswith delayed shutdown", () => {

it("should called stopped", () => {
const service = broker.createService(schema);
service.schema.actions.test.mockResolvedValue(service.Promise.delay(110));
service.schema.actions.test.mockResolvedValue(service.Promise.delay(80));
const getActiveContextsSpy = jest.spyOn(service, "_getActiveContexts");
// const trackContextsSpy = jest.spyOn(service, "_trackContext");
return broker.start()
Expand Down
1 change: 1 addition & 0 deletions test/unit/service-broker.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ describe("Test ServiceBroker constructor", () => {
heartbeatTimeout : 20,
heartbeatInterval: 5,
trackContext: false,
gracefulStopTimeout: 2000,

disableBalancer: true,
registry: {
Expand Down

0 comments on commit bbc5d56

Please sign in to comment.