-
Notifications
You must be signed in to change notification settings - Fork 120
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
Added a retry_interval to VM Migrate state machine. #232
Added a retry_interval to VM Migrate state machine. #232
Conversation
@miq-bot add_label bug, gaprindashvili/yes |
83f5e03
to
7a1783b
Compare
allow(ae_service).to receive(:inputs) { {'state' => state} } | ||
described_class.new(ae_service).main | ||
expect(ae_service.root['ae_result']).to eq(return_status) | ||
context "" do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should come up with some text for this context
?
let(:interval) { nil } | ||
|
||
shared_examples_for "#task_status" do | ||
it "check" do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe it 'checks for return_status and interval'
Added ae_retry_interval of 1 minute to CheckMigration method for /Infrastructure/VM/Migrate/StateMachines/Methods. This will cause the state machine to wait 1 minute after a retry to try again. Updated test to include interval value. https://bugzilla.redhat.com/show_bug.cgi?id=1527985
7a1783b
to
81ab306
Compare
Checked commit billfitzgerald0120@81ab306 with ruby 2.3.3, rubocop 0.47.1, haml-lint 0.20.0, and yamllint 1.10.0 |
Added a retry_interval to VM Migrate state machine. (cherry picked from commit c4ed50c) https://bugzilla.redhat.com/show_bug.cgi?id=1530725
Gaprindashvili backport details:
|
Added ae_retry_interval of 1 minute to CheckMigration method for /Infrastructure/VM/Migrate/StateMachines/Methods.
This will cause the state machine to wait 1 minute after a retry to try again.
Updated test to include interval value.
https://bugzilla.redhat.com/show_bug.cgi?id=1527985