TestGpuResourceHandlerImpl

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,331 of 1,3310%6 of 60%34342812813131
testRecoverResourceAllocation()3200%n/a11606011
testAllocation()1360%n/a11212111
testAllocationStored()1270%n/a11171711
testAllocationStoredWithNULLStateStore()960%n/a11171711
testAllocationWhenDockerContainerEnabled()710%n/a11202011
verifyDeniedDevices(ContainerId, List)700%60%44121211
testAllocationWithoutAllowedGpus()680%n/a11212111
setup()550%n/a11121211
testBootstrapWithRealGpuDiscoverer()450%n/a11101011
initializeGpus()450%n/a119911
testAssignedGpuWillBeCleanedUpWhenStoreOpFails()450%n/a11131311
mockContainerWithGpuRequest(int, Resource, ContainerLaunchContext)330%n/a116611
createMockNmContext(Configuration)310%n/a116611
lambda$testBootstrapWithMockGpuDiscoverer$0()190%n/a115511
createLaunchContextDocker()180%n/a116611
createTestDataDirectory()170%n/a115511
createDefaultConfig()140%n/a115511
setupFakeGpuDiscoveryBinary()120%n/a113311
createLaunchContext()120%n/a113311
createResourceRequest(int)110%n/a113311
verifyCgroupsDeletedForContainer(int)110%n/a113311
getTestParentDirectory()100%n/a112211
startContainerWithGpuRequestsDocker(int, int)100%n/a114411
startContainerWithGpuRequests(int, int)100%n/a114411
cleanupTestFiles()90%n/a113311
getContainerId(int)90%n/a112211
verifyNumberOfAvailableGpus(int, GpuResourceHandlerImpl)70%n/a113311
touchFile(File)60%n/a112211
testBootstrapWithMockGpuDiscoverer()60%n/a112211
mockContainerWithGpuRequest(int, Resource)50%n/a111111
TestGpuResourceHandlerImpl()30%n/a111111