Github user sailajamada commented on the pull request:

    https://github.com/apache/cloudstack/pull/710#issuecomment-132195800
  
    Hi Rajani,
    
    To run the test:
    
    1.  Use the test data file included in the commit or add below section to 
your test data file
    "browser_upload_volume":{
              "VHD": {
            "diskname": "XenUploadVol",
            "url": "http://10.147.28.7/templates/rajani-thin-volume.vhd";,
            "checksum": "09b08b6abb1b903fca7711d3ac8d6598",
                    },
              "OVA": {
            "diskname": "VMwareUploadVol",
            "url": 
"http://10.147.28.7/templates/Autoscale_Template/CentOS5.5(64bit)-vmware-autoscale.ova",
            "checksum": "da997b697feaa2f1f6e0d4785b0cece2",
                    },
              "QCOW2": {
            "diskname": "KVMUploadVol",
            "url": "http://10.147.28.7/templates/rajani-thin-volume.qcow2";,
            "checksum": "02de0576dd3a61ab59c03fd795fc86ac",
                    },
              "TAR": {
            "diskname": "LXCUploadVol",
            "url": "http://10.147.28.7/templates/lxc/rhel63_x64.tar.gz";,
            "checksum": "aa29a468bd77aba6c723af4db61c734a",
                    },
        'browser_resized_disk_offering': {
            "displaytext": "Resizeddisk",
            "name": "Resizeddisk",
            "disksize": 3,
        }
    },
        "browser_upload_volume_extended":{
              "VHD": {
            "diskname": "XenUploadVol",
            "url": 
"http://10.147.28.7/templates/builtin/centos56-x86_64.vhd.bz2";,
            "checksum": "09b08b6abb1b903fca7711d3ac8d6598",
                    },
              "QCOW2": {
            "diskname": "KVMUploadVol",
            "url": 
"http://10.147.28.7/templates/builtin/eec2209b-9875-3c8d-92be-c001bd8a0faf.qcow2.bz2";,
            "checksum": "02de0576dd3a61ab59c03fd795fc86ac",
                    },
                },
        "browser_upload_template": {
              "VHD": {
            "templatename": "XenUploadtemplate",
            "displaytext": "XenUploadtemplate",
            "url": 
"http://10.147.28.7/templates/builtin/centos56-x86_64.vhd.bz2";,
            "hypervisor":"XenServer",
            "checksum": "09b08b6abb1b903fca7711d3ac8d6598",
            "ostypeid":"142"
                    },
              "OVA": {
            "templatename": "VMwareUploadtemplate",
            "displaytext": "VMwareUploadtemplate",
            "url": 
"http://nfs1.lab.vmops.com/templates/vmware/CentOS5.3-x86_64.ova";,
            "checksum": "02de0576dd3a61ab59c03fd795fc86ac",
            "hypervisor":"VMware",
            "ostypeid":"142"
                    },
              "QCOW2": {
            "templatename": "KVMUploadtemplate",
            "displaytext": "KVMUploadtemplate",
            "url": 
"http://10.147.28.7/templates/builtin/eec2209b-9875-3c8d-92be-c001bd8a0faf.qcow2.bz2";,
            "checksum": "d06b5f6a-d44e-11e4-9d99-4af3a393b3ac",
            "hypervisor":"KVM",
            "ostypeid":"142"
                    },
              "TAR": {
            "templatename": "LXCUploadtemplate",
            "displaytext": "LXCUploadtemplate",
            "url": "http://10.147.28.7/templates/lxc/rhel63_x64.tar.gz";,
            "checksum": "aa29a468bd77aba6c723af4db61c734a",
            "hypervisor":"LXC",
            "ostypeid":"142",
                    },
                                  },
    2. Command to run the test 
    nosetests -v --with-marvin --marvin-config=<configuration file.cfg> 
--log-folder-path=<logfolder name> --tests=<Path to test_browse_volumes.py>
    
    Ex:
    nosetests -v --with-marvin --marvin-config=btemplate.cfg 
--log-folder-path=/sailajalogs/ 
--tests=/ACSPRSAILAJA/cloudstack/test/integration/component/test_browse_volumes.py



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to