MCPcopy
hub / github.com/hashicorp/packer / testMetaSleepFile

Function testMetaSleepFile

command/build_timeout_test.go:38–47  ·  view source on GitHub ↗

testMetaFile creates a Meta object that includes a file builder

(t *testing.T)

Source from the content-addressed store, hash-verified

36
37// testMetaFile creates a Meta object that includes a file builder
38func testMetaSleepFile(t *testing.T) Meta {
39 var out, err bytes.Buffer
40 return Meta{
41 CoreConfig: testCoreConfigSleepBuilder(t),
42 Ui: &packersdk.BasicUi{
43 Writer: &out,
44 ErrorWriter: &err,
45 },
46 }
47}
48
49func TestBuildSleepTimeout(t *testing.T) {
50 defer cleanup()

Callers 1

TestBuildSleepTimeoutFunction · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…