fix: Prevent mount point volid to change on host edit #380
Annotations
3 errors
foreman_fog_proxmox/test/unit/foreman_fog_proxmox/proxmox_vm_commands_server_update_cdrom_test.rb#L110
Failure: test_0002_saves modified server config with removed cdrom
unexpected invocation: #<Mock:disk>.mount_point?()
unsatisfied expectations:
- expected exactly once, invoked never: #<Mock:vm>.update(any_parameters)
- expected exactly once, invoked never: #<Mock:vm>.detach(any_parameters)
satisfied expectations:
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getaddresses(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getaddress(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getnames(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getname(any_parameters)
- allowed any number of times, invoked never: #<Mock:config>.attributes(any_parameters)
- allowed any number of times, invoked once: #<Mock:config>.disks(any_parameters)
- allowed any number of times, invoked once: #<Mock:disks>.get(any_parameters)
- allowed any number of times, invoked never: #<Mock:disk>.id(any_parameters)
- allowed any number of times, invoked never: #<Mock:disk>.media(any_parameters)
- allowed any number of times, invoked never: #<Mock:disk>.volid(any_parameters)
- allowed any number of times, invoked never: #<Mock:disk>.storage(any_parameters)
- allowed any number of times, invoked once: #<Mock:disk>.cloud_init?(any_parameters)
- allowed any number of times, invoked once: #<Mock:disk>.rootfs?(any_parameters)
- allowed any number of times, invoked never: #<Mock:disk>.cdrom?(any_parameters)
- allowed any number of times, invoked once: #<Mock:disk>.hard_disk?(any_parameters)
- allowed any number of times, invoked never: #<Mock:disk>.size(any_parameters)
- allowed any number of times, invoked once: #<Mock:vm>.node_id(any_parameters)
- allowed any number of times, invoked twice: #<Mock:vm>.type(any_parameters)
- allowed any number of times, invoked never: #<Mock:vm>.templated?(any_parameters)
- allowed any number of times, invoked never: #<Mock:vm>.container?(any_parameters)
- allowed any number of times, invoked once: #<Mock:vm>.config(any_parameters)
- allowed any number of times, invoked once: #<Mock:vm>.identity(any_parameters)
- allowed any number of times, invoked never: #<ForemanFogProxmox::Proxmox:0x16968>.parse_server_vm(any_parameters)
- allowed any number of times, invoked once: #<ForemanFogProxmox::Proxmox:0x16968>.find_vm_by_uuid(any_parameters)
|
foreman_fog_proxmox/test/unit/foreman_fog_proxmox/proxmox_vm_commands_server_update_cdrom_test.rb#L110
Failure: test_0003_saves modified server config with modified cdrom from image into physical
unexpected invocation: #<Mock:disk>.mount_point?()
unsatisfied expectations:
- expected exactly once, invoked never: #<Mock:vm>.update(any_parameters)
- expected exactly once, invoked never: #<Mock:vm>.attach(any_parameters)
satisfied expectations:
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getaddresses(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getaddress(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getnames(any_parameters)
- allowed any number of times, invoked never: #<AnyInstance:Resolv::DNS>.getname(any_parameters)
- allowed any number of times, invoked never: #<Mock:config>.attributes(any_parameters)
- allowed any number of times, invoked once: #<Mock:config>.disks(any_parameters)
- allowed any number of times, invoked once: #<Mock:disks>.get(any_parameters)
- allowed any number of times, invoked never: #<Mock:disk>.attributes(any_parameters)
- allowed any number of times, invoked never: #<Mock:disk>.id(any_parameters)
- allowed any number of times, invoked never: #<Mock:disk>.media(any_parameters)
- allowed any number of times, invoked never: #<Mock:disk>.volid(any_parameters)
- allowed any number of times, invoked never: #<Mock:disk>.storage(any_parameters)
- allowed any number of times, invoked once: #<Mock:disk>.cloud_init?(any_parameters)
- allowed any number of times, invoked once: #<Mock:disk>.rootfs?(any_parameters)
- allowed any number of times, invoked never: #<Mock:disk>.cdrom?(any_parameters)
- allowed any number of times, invoked once: #<Mock:disk>.hard_disk?(any_parameters)
- allowed any number of times, invoked never: #<Mock:disk>.size(any_parameters)
- allowed any number of times, invoked once: #<Mock:vm>.node_id(any_parameters)
- allowed any number of times, invoked twice: #<Mock:vm>.type(any_parameters)
- allowed any number of times, invoked never: #<Mock:vm>.container?(any_parameters)
- allowed any number of times, invoked once: #<Mock:vm>.config(any_parameters)
- allowed any number of times, invoked never: #<Mock:vm>.attributes(any_parameters)
- allowed any number of times, invoked once: #<Mock:vm>.identity(any_parameters)
- allowed any number of times, invoked never: #<ForemanFogProxmox::Proxmox:0x17048>.parse_server_vm(any_parameters)
- allowed any number of times, invoked once: #<ForemanFogProxmox::Proxmox:0x17048>.find_vm_by_uuid(any_parameters)
|
|
This job failed
Loading