ankgro / cloudsim

Automatically exported from code.google.com/p/cloudsim
0 stars 1 forks source link

Bug: Call getVm(vmId, userId) Function #34

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. In some pieces of code which call getVm(vmId, userId) assign false parameter 
as getVm(userId, vmId) which must flip the parameter to getVm(vmId, userId).

The mistake in:
*Class Datacenter:
    |processCloudletStatus(SimEvent ev) (1 statement)
    |processCloudletStatus(SimEvent ev) (1 statement)
    |processCloudletMove(int[] receivedData, int type) (2 statements)
    |processCloudletResume(int cloudletId, int userId, int vmId, boolean ack) (1 statement)
    |processCloudletPause(int cloudletId, int userId, int vmId, boolean ack) (1 statement)
    |processCloudletCancel(int cloudletId, int userId, int vmId) (1)

What is the expected output? What do you see instead?
getVm(vmId, userId)

What version of the product are you using? On what operating system?
Cloudsim 3.0, Mac OSX, Netbeanse 7.0, Ant 1.8.

Please provide any additional information below.

Original issue reported on code.google.com by zakarea....@gmail.com on 5 Jul 2012 at 3:51

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r170.

Original comment by rodrigo.calheiros on 3 Aug 2012 at 6:17

GoogleCodeExporter commented 8 years ago
This bug was confirmed, and fixed on Rev. 170.

Original comment by rodrigo.calheiros on 3 Aug 2012 at 6:18