Alexandru Bleotu
80baf38ee6
Added tests for new serialization code
2016-11-29 08:01:41 -05:00
Alexandru Bleotu
39fe0b41b6
Added/updated tests for exception handling/get_root_folder change in utils.vmware.get_content
2016-11-24 05:53:51 -05:00
Alexandru Bleotu
ed64348502
Added tests for exception handling in utils.vmware.is_connection_to_a_vcenter
2016-11-22 09:08:06 -05:00
Alexandru Bleotu
3497d2344e
Added tests for exception handling in utils.vmware.get_service_instance
2016-11-22 09:08:06 -05:00
Alexandru Bleotu
102b2b2e98
Vmware disconnect gh ( #37809 )
...
* Added utils.vmware.disconnect
- disconnects from a vCenter or ESXi host
* Added tests for salt.utils.vmware.disconnect
2016-11-21 13:25:16 -07:00
rallytime
b86e9270e7
Update "warn" to "warning" in verify_test
2016-11-11 09:05:44 -07:00
rallytime
7b2341bbfd
Merge branch '2016.11' into 'develop'
...
Conflicts:
- doc/topics/releases/releasecandidate.rst
- salt/modules/file.py
- salt/states/file.py
- salt/utils/network.py
2016-11-10 15:59:51 -07:00
Eric Radman
b19440418d
Fixes to unit tests ( #37586 )
...
Add skipIf pyvmomi is not installed
NameError: global name 'vmodl' is not defined
NameError: global name 'vim' is not defined
Fix skipIf typo for OpenBSD
>>> import sys
>>> sys.platform
'openbsd6'
Avoid warning from glusterfs.py:
Use specific 'len(elem)' or 'elem is not None' test
Enable boto_secgroup_test tests that work now:
test skipped due to error in moto return - fixed in
cc01669643
2016-11-09 13:58:08 -07:00
Nicole Thomas
2e8e56ca69
[PY3] Change log.warn statements to log.warning ( #37531 )
...
* [PY3] Change log.warn statements to log.warning
log.warn is deprecated in Python 3. This change removes the
occurance of deprecation warnings for using log.warn. For example:
```
17:24:23 [WARNING ] /testing/salt/utils/verify.py:522: DeprecationWarning: The 'warn' method is deprecated, use 'warning' instead
17:24:23 log.warn('Insecure logging configuration detected! Sensitive data may be logged.')
17:24:23
17:24:23 [WARNING ] Insecure logging configuration detected! Sensitive data may be logged.
```
* Tweak unit.utils.verify_test to using warning instead of warn
2016-11-08 13:06:54 -07:00
Mike Place
610a198322
Lint
2016-11-08 19:40:48 +13:00
Mike Place
3e848ad126
Cache tests
2016-11-08 18:49:10 +13:00
Mike Place
33d0789f6e
Merge pull request #37348 from alexbleotu/create_cluster-gh
...
Create cluster gh
2016-11-06 15:02:41 +13:00
Alexandru Bleotu
b3404ae7a2
Renamed salt.utils.vmware.update_cluster tests
2016-11-04 09:57:23 -04:00
Alexandru Bleotu
e126619405
Added tests for utils.vmware.create_cluster
2016-11-04 09:52:25 -04:00
Alexandru Bleotu
c68281b9fa
Get cluster gh ( #37310 )
...
* Added utils.vmware.get_cluster
- retrieves a cluster in datacenter based on its name
* Added tests for utils.vmware.get_cluster
2016-11-02 08:28:41 -06:00
rallytime
e57fb947c6
Merge branch '2016.11' into 'develop'
...
Conflicts:
- salt/modules/status.py
2016-11-01 12:56:04 -06:00
Alexandru Bleotu
b0aaebaab8
Update cluster gh ( #37347 )
...
* Added utils.vmware.update_cluster
- updates an existing cluster based on a configuration spec
* Added tests for utils.vmware.update_cluster
2016-11-01 09:01:20 -06:00
rallytime
e10058c831
Merge branch '2016.3' into 'carbon'
...
No conflicts.
2016-10-31 10:15:25 -06:00
Mike Place
7d7941598e
Merge branch 'carbon' into carbon_develop
2016-10-31 23:57:16 +13:00
Mike Place
02d61e5928
Lint
2016-10-31 23:21:43 +13:00
Mike Place
3d36f47d53
Skip process test on < 2.7
...
There is an unfixed bug in 2.6 that makes this unstable.
2016-10-31 23:20:48 +13:00
Mike Place
a6b7417fe9
SIGILL -> SIGKILL in process test
...
Fairly sure this was a typo. cc: @s0undt3ch
2016-10-31 20:54:42 +13:00
rallytime
8d3957f250
Merge branch 'carbon' into 'develop'
...
Conflicts:
- salt/cloud/clouds/vmware.py
- salt/modules/boto_ec2.py
- salt/modules/cmdmod.py
- salt/modules/win_lgpo.py
2016-10-28 11:58:41 -06:00
Mike Place
36f47a4449
Reset dir for extend test
2016-10-28 15:02:13 +09:00
Alexandru Bleotu
a777d6eced
Get managed object name gh ( #37276 )
...
* Added get_managed_object_name to optimally retrieve a managed object's name
* Added tests for get_managed_obect_name
2016-10-27 16:27:27 -06:00
Alexandru Bleotu
c0b45afa54
Added tests for salt.utils.vmware.get_properties_of_managed_object
2016-10-26 06:37:32 -04:00
Mike Place
fa20c4c128
Merge pull request #37223 from alexbleotu/get_service_instance_from_managed_object-gh
...
Get service instance from managed object gh
2016-10-26 10:35:02 +09:00
Alexandru Bleotu
ac451002dd
Added tests for get_service_instance_from_managed_object
2016-10-25 11:21:32 -04:00
rallytime
70851807bd
Merge branch 'carbon' into 'develop'
...
Conflicts:
- salt/modules/status.py
2016-10-24 09:35:00 -06:00
rallytime
caa8fc9169
Merge branch '2016.3' into 'carbon'
...
Conflicts:
- pkg/deb/salt-api.service
- pkg/deb/salt-master.service
- salt/client/__init__.py
- salt/fileclient.py
- salt/modules/cp.py
- salt/modules/status.py
- tests/integration/__init__.py
- tests/integration/modules/cp.py
2016-10-21 15:50:03 -06:00
rallytime
db3150b3f1
Merge branch 'carbon' into 'develop'
...
Conflicts:
- doc/topics/installation/windows.rst
2016-10-21 15:19:16 -06:00
Dmitry Kuzmenko
4695619599
Updated host_to_ip to return all the IPs instead of the first one.
...
This fixes the bug #36866 where minion gets __master_disconnected right
after connect because '::1' isn't in the list of connected masters that
is ['127.0.0.1'].
2016-10-20 18:15:27 +03:00
Mike Place
d7aebd1877
Remove unnecessary sleep from unit.utils.process_test.TestProcessManager.test_restarting
2016-10-20 14:29:10 +09:00
rallytime
c4dc0dd2ef
Merge branch 'carbon' into 'develop'
...
No conflicts.
2016-10-13 11:14:36 -06:00
Nicole Thomas
a8eee6e90b
Update the ip to test against in unit.utils.network_test.NetworkTestCase.test_host_to_ip ( #36975 )
2016-10-13 10:25:58 -06:00
Tim Fechner
7547761acc
Fix #36461 , AttributeError because of .lower() ( #36462 )
...
* Fix #36461 , AttributeError because of .lower()
* Add tests
2016-10-11 10:29:22 -06:00
Alexandru Bleotu
6c441cb288
Create datacenter gh ( #36826 )
...
* Added salt.utils.create_datacenter that creates a VMWare datacenter
* Added tests for salt.utils.vmware.create_datacenter
2016-10-11 08:49:53 -06:00
Alexandru Bleotu
03533e9b01
Added tests for salt.utils.vmware.get_datacenter
2016-09-27 13:39:47 +01:00
Mike Place
681ce7539c
Merge pull request #36511 from alexbleotu/wait_for_task_update-gh
...
Wait for task update gh
2016-09-26 19:04:35 +09:00
Mike Place
6af9192a51
Merge pull request #36509 from alexbleotu/get_root_folder-gh
...
Get root folder gh
2016-09-26 18:52:50 +09:00
Alexandru Bleotu
16510be521
Updated tests to reflect changes in salt.utils.vmware.wait_for_pid
2016-09-23 10:48:24 +01:00
Alexandru Bleotu
fa2ecb9f56
Added tests for get_root_folder
2016-09-23 10:09:10 +01:00
rallytime
8e0b1a3718
Merge branch 'carbon' into 'develop'
...
No conflicts.
2016-09-22 10:09:06 -06:00
C. R. Oldham
755c069fb9
Align tests for new calls
2016-09-21 16:08:28 -06:00
C. R. Oldham
3c62ceb3b4
Fix salt-cloud breakage--local traversal was skipping what we needed. Fixes #36301
...
Align tests for new calls
More specific 'skip' selection for PropertyCollector depending on local_properties request.
2016-09-21 09:43:14 -06:00
rallytime
bdb15217d3
Merge branch 'carbon' into 'develop'
...
No conflicts.
2016-09-19 11:21:02 -06:00
Nicole Thomas
2f16e43d67
Update the extend.py and extend_test.py imports ( #36382 )
...
When using `fopen`, we need to import all of salt.utils. We should
also be explicit about calling salt.utils.fopen.
This also cleans up the ordering of the salttesting vs salt libs to
be consistent with other files and conform with `ensure_is_syspath`.
Also changes a print statement to a log.info
2016-09-16 16:26:13 -06:00
rallytime
26cf545d03
Merge branch '2016.3' into 'carbon'
...
Conflicts:
- salt/utils/gitfs.py
- tests/unit/modules/disk_test.py
2016-09-16 10:35:49 -06:00
rallytime
37aea4188a
Merge branch '2015.8' into '2016.3'
...
No conflicts.
2016-09-16 09:24:17 -06:00
Mike Place
70ffdafbf0
Schema test requires jsonschema 2.5.0 or above
2016-09-15 17:23:51 -06:00