This project has retired. For details please refer to its Attic page.
cas-resource –

Summary

Tests Errors Failures Skipped Success Rate Time
64 0 0 0 100% 4.06

Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Package List

Package Tests Errors Failures Skipped Success Rate Time
org.apache.oodt.cas.resource.cli 17 0 0 0 100% 2.887
org.apache.oodt.cas.resource.mux 10 0 0 0 100% 0.103
org.apache.oodt.cas.resource.jobqueue 10 0 0 0 100% 0.059
org.apache.oodt.cas.resource.monitor 12 0 0 0 100% 0.377
org.apache.oodt.cas.resource.system 12 0 0 0 100% 0.47
org.apache.oodt.cas.resource.util 2 0 0 0 100% 0.065
org.apache.oodt.cas.resource.queuerepo 1 0 0 0 100% 0.099

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

org.apache.oodt.cas.resource.cli

Class Tests Errors Failures Skipped Success Rate Time
TestResourceCli 17 0 0 0 100% 2.887

org.apache.oodt.cas.resource.mux

Class Tests Errors Failures Skipped Success Rate Time
TestQueueMuxBatchmgr 3 0 0 0 100% 0.025
TestQueueMuxMonitor 7 0 0 0 100% 0.078

org.apache.oodt.cas.resource.jobqueue

Class Tests Errors Failures Skipped Success Rate Time
TestFifoMappedJobQueue 5 0 0 0 100% 0.028
TestJobStack 5 0 0 0 100% 0.031

org.apache.oodt.cas.resource.monitor

Class Tests Errors Failures Skipped Success Rate Time
TestAssignmentMonitor 4 0 0 0 100% 0.108
TestGangliaResourceMonitor 4 0 0 0 100% 0.147
TestGangliaXMLParser 4 0 0 0 100% 0.122

org.apache.oodt.cas.resource.system

Class Tests Errors Failures Skipped Success Rate Time
TestXmlRpcResourceManager 1 0 0 0 100% 0.208
TestXmlRpcResourceManagerClient 11 0 0 0 100% 0.262

org.apache.oodt.cas.resource.util

Class Tests Errors Failures Skipped Success Rate Time
TestUlimit 2 0 0 0 100% 0.065

org.apache.oodt.cas.resource.queuerepo

Class Tests Errors Failures Skipped Success Rate Time
TestXmlQueueRepository 1 0 0 0 100% 0.099

Test Cases

TestResourceCli

testGetNodeById 0.813
testGetNodeLoad 0.164
testGetNodes 0.146
testGetNodesInQueue 0.16
testAddNode 0.154
testKill 0.14
testGetJobInfo 0.128
testAddNodeToQueue 0.143
testRemoveQueue 0.129
testGetExecNode 0.127
testAddQueue 0.105
testGetQueuesWithNode 0.118
testRemoveNode 0.1
testSubmitJob 0.099
testGetQueues 0.12
testSetNodeCapacity 0.122
testRemoveNodeFromQueue 0.109

TestFifoMappedJobQueue

testGetNextJob 0.002
testGetJobRepository 0
testPurge 0.016
testGetCapacity 0
testIsEmpty 0

TestJobStack

testGetNextJob 0.018
testPurge 0.002
testAddJob 0.001
testQueuedJobs 0.001
testIsEmpty 0

TestAssignmentMonitor

testGetNodeById 0.094
testGetNodeInfo 0.002
testGetNodes 0.002
testNodeModification 0.002

TestGangliaResourceMonitor

testGetNodeById 0.121
testRemoveNodeById 0
testGetNodes 0.008
testGetLoad 0.008

TestGangliaXMLParser

testClusterTag 0.088
testMetricTag 0.01
testGridClusters 0.008
testHostTag 0.007

TestQueueMuxBatchmgr

testKillJob 0.013
testGetExecNode 0
testExecuteRemotely 0

TestQueueMuxMonitor

testReduceLoad 0.015
testGetNodeById 0.001
testGetNodes 0
testAddNode 0
testGetLoad 0.001
testAssignLoad 0
testGetNodeByURL 0.052

TestXmlQueueRepository

testMapping 0.09

TestXmlRpcResourceManager

testDynSetNodeCapacity 0.2

TestXmlRpcResourceManagerClient

testGetNodeById 0.082
testGetNodeLoad 0.004
testGetNodes 0.003
testGetNodesInQueue 0.001
testGetJobQueueSize 0.001
testGetExecutionReport 0.002
testNodeReport 0.003
testQueuesWithNode 0.004
testQueuedJobs 0.001
testQueues 0.002
testJobQueueCapacity 0.001

TestUlimit

testUlimitProperty 0.053
testGetMaxOpenFiles 0.004