MCPcopy Create free account
hub / github.com/cloudbase/garm / TestGetJITConfigFileNotJIT

Method TestGetJITConfigFileNotJIT

runner/metadata_test.go:511–516  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

509}
510
511func (s *MetadataTestSuite) TestGetJITConfigFileNotJIT() {
512 _, err := s.Runner.GetJITConfigFile(s.instanceCtx, ".runner")
513
514 s.Require().NotNil(err)
515 s.Require().Contains(err.Error(), "instance not configured for JIT")
516}
517
518func (s *MetadataTestSuite) TestGetJITConfigFileUnauthorized() {
519 _, err := s.Runner.GetJITConfigFile(s.unauthorizedCtx, ".runner")

Callers

nothing calls this directly

Calls 2

GetJITConfigFileMethod · 0.80
ErrorMethod · 0.45

Tested by

no test coverage detected