-
Notifications
You must be signed in to change notification settings - Fork 898
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
Failing specs on local machine but not Travis #20986
Comments
Fryguy
changed the title
Failiing specs on Mac but not Linux
Failing specs on Mac but not Linux
Jan 27, 2021
@Fryguy I don't think this is mac/linux as these three fail for me as well. It is more likely a travis environmental / config thing The last one I actually get 127.0.1.1 not nil:
|
Fryguy
changed the title
Failing specs on Mac but not Linux
Failing specs on local machine but not Travis
Jan 27, 2021
Thanks @agrare I updated the title |
Fryguy
added a commit
to Fryguy/manageiq
that referenced
this issue
Feb 3, 2021
Fryguy
added a commit
to Fryguy/manageiq
that referenced
this issue
Feb 3, 2021
The test is checking that MiqEvents were raised to the queue when space is not available for the backup/dump feature, however depending on test loading order, it's possible that MiqEvent is not defined. The code that raises the event has an explicit check for `defined?(::MiqEvent)` because it can run outside of the Rails environment context from a rake task. This commit changes the test to ensure that the MiqEvent class is defined, so we can verify that the event is raised. Closes ManageIQ#20986
Fryguy
added a commit
to Fryguy/manageiq
that referenced
this issue
Feb 3, 2021
The test is checking that MiqEvents were raised to the queue when space is not available for the backup/dump feature, however depending on test loading order, it's possible that MiqEvent is not defined. The code that raises the event has an explicit check for `defined?(::MiqEvent)` because it run outside of the Rails environment context from a rake task. This commit changes the test to ensure that the MiqEvent class is defined, so we can verify that the event is raised. Closes ManageIQ#20986
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There might be more, but these 3 tests consistently fail on my Mac, but pass in Travis...
The text was updated successfully, but these errors were encountered: