Mocking the Connect object used in the LibvirtMigrateCommandWrapper. #342
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi @bhaisaab and @rsafonseca,
The Connect class is now being mocked, which means it will not load any native library.
Build environment:
[root@kvm3 cloudstack]# uname -a
Linux kvm3 3.10.0-229.1.2.el7.x86_64 #1 SMP Fri Mar 27 03:04:26 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
[root@kvm3 cloudstack]# cat /etc/centos-release
CentOS Linux release 7.1.1503 (Core)
[root@kvm3 cloudstack]# virsh --version=long
Virsh command line tool of libvirt 1.2.8
See web site at http://libvirt.org/
Compiled with support for:
Hypervisors: QEMU/KVM LXC ESX Test
Networking: Remote Network Bridging Interface netcf Nwfilter VirtualPort
Storage: Dir Disk Filesystem SCSI Multipath iSCSI LVM Gluster
Miscellaneous: Daemon Nodedev SELinux Secrets Debug DTrace Readline Modular
Command executed: mvn -P developer,systemvm clean install
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 16:50.546s
[INFO] Finished at: Mon Jun 01 09:04:28 EDT 2015
[INFO] Final Memory: 103M/671M
[INFO] ------------------------------------------------------------------------
[root@kvm3 cloudstack]#
Cheers,
Wilder