Skip to content

Commit

Permalink
Increase time to wait for iDrac job to get done and send back ack to … (
Browse files Browse the repository at this point in the history
#555)

* Increase time to wait for iDrac job to get done and send back ack to RackHD
for Firmware Update

* Update unit test
  • Loading branch information
uppalk1 authored and geoff-reid committed Nov 16, 2017
1 parent 7dbe26a commit b2011a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/utils/job-utils/racadm-tool.js
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ function racadmFactory(
return self.getLatestJobId(host, user, password);
})
.then(function(jobId){
return self.waitJobDone(host, user, password, jobId, 0, 1000);
return self.waitJobDone(host, user, password, jobId, 0, 10000);
});
} else {
return self.runCommand(host, user, password, command, 0, 1000);
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/utils/job-utils/racadm-tool-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ describe("racadm-tool", function() {
expect(instance.getLatestJobId).to.have.been.calledWith('192.168.188.113',
'admin', 'admin');
expect(instance.waitJobDone).to.have.been.calledWith('192.168.188.113',
'admin', 'admin', 'JID_xxxxxxxx', 0, 1000);
'admin', 'admin', 'JID_xxxxxxxx', 0, 10000);
});
});

Expand Down

0 comments on commit b2011a1

Please sign in to comment.