TestGpuResourceHandlerImpl

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,350 of 1,3500%6 of 60%33332952953030
testRecoverResourceAllocation()3230%n/a11707011
testAllocation()1360%n/a11212111
testAllocationStored()1280%n/a11181811
testAllocationStoredWithNULLStateStore()960%n/a11171711
testAllocationWhenDockerContainerEnabled()710%n/a11202011
verifyDeniedDevices(ContainerId, List)700%60%44121211
testAllocationWithoutAllowedGpus()670%n/a11212111
setup()550%n/a11121211
testBootstrapWithRealGpuDiscoverer()460%n/a11121211
initializeGpus()450%n/a119911
testAssignedGpuWillBeCleanedUpWhenStoreOpFails()450%n/a11131311
mockContainerWithGpuRequest(int, Resource, ContainerLaunchContext)330%n/a116611
createMockNmContext(Configuration)310%n/a116611
testBootstrapWithMockGpuDiscoverer()230%n/a116611
setupFakeGpuDiscoveryBinary()180%n/a113311
createLaunchContextDocker()180%n/a116611
createTestDataDirectory()170%n/a115511
getTestParentDirectory()160%n/a112211
createDefaultConfig()140%n/a115511
createLaunchContext()120%n/a113311
createResourceRequest(int)110%n/a113311
verifyCgroupsDeletedForContainer(int)110%n/a113311
startContainerWithGpuRequestsDocker(int, int)100%n/a114411
startContainerWithGpuRequests(int, int)100%n/a114411
cleanupTestFiles()90%n/a113311
getContainerId(int)90%n/a112211
verifyNumberOfAvailableGpus(int, GpuResourceHandlerImpl)90%n/a113311
TestGpuResourceHandlerImpl()60%n/a113311
touchFile(File)60%n/a112211
mockContainerWithGpuRequest(int, Resource)50%n/a111111