Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed calculation for Ansible playbook service max TTL. #193

Merged
merged 1 commit into from
Oct 5, 2017

Conversation

billfitzgerald0120
Copy link
Contributor

Updated method and test.
https://bugzilla.redhat.com/show_bug.cgi?id=1497983

@miq-bot add_label bug, fine/yes

@billfitzgerald0120
Copy link
Contributor Author

@miq-bot assign @gmcculloug

@billfitzgerald0120
Copy link
Contributor Author

@tinaafitz Please Review

@tinaafitz
Copy link
Member

@billfitzgerald0120 Looks good.
@mkanoor Please review.

context "600 ttl, 100 retries eq interval 6" do
let(:ae_retry_interval) { 6.minutes }
let(:ttl) { 600 }
context "650 ttl, 100 retries eq interval 6" do
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also need to update the "internal" value of the context.

context "600 ttl, 100 retries eq interval 6" do
let(:ae_retry_interval) { 6.minutes }
let(:ttl) { 600 }
context "650 ttl, 100 retries eq interval 6" do
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

@billfitzgerald0120
Copy link
Contributor Author

@gmcculloug Made changes as requested, please review

@miq-bot
Copy link
Member

miq-bot commented Oct 5, 2017

Checked commit billfitzgerald0120@db4c6ef with ruby 2.3.5, rubocop 0.47.1, and haml-lint 0.20.0
2 files checked, 0 offenses detected
Everything looks fine. ⭐

@gmcculloug gmcculloug merged commit ae2736d into ManageIQ:master Oct 5, 2017
@gmcculloug gmcculloug added this to the Sprint 71 Ending Oct 16, 2017 milestone Oct 5, 2017
simaishi pushed a commit that referenced this pull request Nov 13, 2017
Fixed calculation for Ansible playbook service max TTL.
(cherry picked from commit ae2736d)

https://bugzilla.redhat.com/show_bug.cgi?id=1501524
@simaishi
Copy link
Contributor

Fine backport details:

$ git log -1
commit 0d4b9292182140c27c16a83a4ff7b7f0828b1180
Author: Greg McCullough <gmccullo@redhat.com>
Date:   Thu Oct 5 13:06:49 2017 -0400

    Merge pull request #193 from billfitzgerald0120/timetolive_float
    
    Fixed calculation for Ansible playbook service max TTL.
    (cherry picked from commit ae2736d354c1b31624e2af9fbb967a419eabf9f8)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1501524

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants