MCPcopy
hub / github.com/NVIDIA/k8s-device-plugin / removeMachineFile

Function removeMachineFile

cmd/gpu-feature-discovery/main_test.go:573–576  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

571}
572
573func removeMachineFile(t *testing.T) {
574 err := os.Remove(testMachineTypeFile)
575 require.NoError(t, err, "Removing machine type mock file")
576}

Callers 10

TestMigStrategyNoneFunction · 0.85
TestMigStrategySingleFunction · 0.85
TestMigStrategyMixedFunction · 0.85
TestRunOneshotFunction · 0.85
TestRunInfiniteSleepFunction · 0.85
TestRunWithNoTimestampFunction · 0.85
TestRunSleepFunction · 0.85
TestFailOnNVMLInitErrorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected