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

Integration tests fixes for 2016.3 #36263

Merged
merged 3 commits into from
Sep 13, 2016

Conversation

meaksh
Copy link
Contributor

@meaksh meaksh commented Sep 13, 2016

What does this PR do?

This PR fixes some integration tests failures in 2016.3:

  1. Fix PillarModuleTest::test_pillar_items: 'info' does not exist in pillar
  2. Fix integration tests if azure is not present
  3. Skip git state integration tests if 'git' does not exists
  4. Prevent OSError if 'git' command not found during _git_version()

This changes should also be included in develop.

Thanks!

@rallytime
Copy link
Contributor

Thanks again for cleaning these up @meaksh!

Also, just so you know, we always merge changes forward (2015.8 into 2016.3, 2016.3 into "carbon", and then "carbon" into develop), so there isn't a need to submit multiple pull requests for each branch that have the same changes. (I know this one is slightly different than #36262, but it is very similar.) Hopefully that just reduces some work for you and any worries you might have about what should go into which branch. :)

Changes that go into 2015.8 should reach develop within a couple of days.

Thank you again for cleaning these test cases up. It is very much appreciated!

@rallytime rallytime merged commit a0bbb0f into saltstack:2016.3 Sep 13, 2016
@meaksh
Copy link
Contributor Author

meaksh commented Sep 15, 2016

Ok, perfect! Thank you @rallytime for your help and clarification. 👍

@meaksh meaksh deleted the integration-tests-fixes-2016.3 branch September 15, 2016 07:53
gitebra pushed a commit to gitebra/salt that referenced this pull request Sep 15, 2016
* upstream/develop: (92 commits)
  Switch the order of the decorator
  Back-port saltstack#36273 to 2016.3 (saltstack#36295)
  Back-port saltstack#36124 to 2016.3 (saltstack#36296)
  Fix pkg group test by passing a list instead of str
  Report the reason that a module did not load to the user via remote-ex (saltstack#36259)
  Gate the pkg.group_installed state test: not all pkg modules have group_install
  Filter out pub kwargs from cloud runner (saltstack#36178)
  Add append_newline flag for saltstack#33686 (saltstack#36273)
  Don't stop to failover if all masters not reachable.
  Schema test requires jsonschema 2.5.0 or above
  Fix pkg group test by passing a list instead of str
  Improved gitfs/git_pillar error logging
  Integration tests fixes for 2015.8 (saltstack#36262)
  Protect the dbus import for a loader stacktrace in avahi_announce beacon
  Fix for new integration test for fileserver.clear_file_list_cache
  salt.utils.gitfs: Check for existence of ssh keys
  Pylint fix
  Integration tests fixes for 2016.3 (saltstack#36263)
  Fix misspelling of "occurred" in log messages/exceptions (saltstack#36270)
  Pass the key kwarg through to the flush function
  ...
@rallytime
Copy link
Contributor

@meaksh Definitely! And thank you for contributing!

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

Successfully merging this pull request may close these issues.

None yet

2 participants