Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Test case id

Test case description

Steps

Expected Result

Priority

Comments

1

account.cleanup.interval

Set this to 60
Create account and Vm
Delete account while VM is being created

Make sure that cleanup thread is run once per 60 seconds, and the account got cleaned up properly (all VMs/IPs should get destroyed)

Pass

 

2

capacity.check.period

The parameter should have default value = 300000seconds.
Configure it to be 60 seconds.
Configure a low threshold for the memory.
Start a lot of VMs.
Set this to 60
Start lot of VMs

After 60 seconds should get an alert saying that you run of system memory.

Pass

 

3

check.pod.cidrs

Default = true.
Set this to false and create pods with same CIDR subnets

Should be able to create PODs within same CIDR subnet

Pass

 

4

consoleproxy.session.max

Default = 10
Set this to 5 (also set consoleproxy.capacity.standby = 1)
Launch 5 consoles

Should spawn additional CPVMs

Pass

 

5

expunge.delay

Default = 86400
Set this to 60 (seconds) 
Also set expunge.interval = 60
Destroy a Vm

Should expunge the VM by 60 seconds

Pass

 

6

host.stats.interval

Set this to 10

Should retrieve host stats every 10 sec

Pass

 

7

max.account.user.vms

Set this to 2

User should not be able to create more than 2 VMs

Pass

 

8

system.vm.use.local.storage

Set this to true

System VMs should use local storage in place of shared

Pass

 

9

start.retry

Set to 5.
Try to start VM with insufficient capacity or an unreachable host

Should retry VM start 5 times

Pass

 

10

cluster.cpu.allocated.capacity.threshold

Set this to a low value bet'n 0 and 1
Let actual cluster capacity<cluster.cpu.allocated.capacity.threshold(deploy lot of VMs to simulate this)
Deploy VM

Only admin should be able to modify this
VM deploy should fail with appropriate error message

Pass

 

11

cluster.memory.allocated.capacity.threshold

Set this to a low value bet'n 0 and 1
Let actual cluster capacity<cluster.memory.allocated.capacity.threshold (deploy lot of VMs to simulate this)
Deploy VM
(Assume one cluster)

Only admin should be able to modify this
VM deploy should fail with appropriate error message

Pass

 

12

cluster.localStorage.capacity.notificationthreshold

Set this to a low value
Deploy lot of VMs

Verify that notification is sent when the capacity falls below the set threshold

  Pass