Remove retired runtime wrappers and persistent cache machinery
This commit is contained in:
@@ -197,7 +197,7 @@ pipelines:
|
||||
t.Fatalf("Resolve(child) error = %v", err)
|
||||
}
|
||||
lanes := resolved.ResolvedPipeline.AllArtifactLanes()
|
||||
if len(lanes) != 1 || lanes[0].Extract.MaxAdditionalTurns == nil || *lanes[0].Extract.MaxAdditionalTurns != 0 {
|
||||
if len(lanes) != 1 || lanes[0].ExtractControls.MaxAdditionalTurns != 0 {
|
||||
t.Fatalf("resolved child turn allowance = %#v", lanes)
|
||||
}
|
||||
if !resolved.ResolvedPipeline.Chunk.Validators.Set || len(resolved.ResolvedPipeline.Chunk.Validators.Validators) != 0 ||
|
||||
|
||||
@@ -24,8 +24,8 @@ func TestValidateStateSurfaceRules(t *testing.T) {
|
||||
setup func(*Config)
|
||||
}{
|
||||
{"output", func(c *Config) { c.Output.Directory = "" }},
|
||||
{"cache", func(c *Config) { c.CacheDirectory = "\\x00" }},
|
||||
{"debug", func(c *Config) { c.Debug.Directory = "\\x00" }},
|
||||
{"cache", func(c *Config) { c.CacheDirectory = "\x00" }},
|
||||
{"debug", func(c *Config) { c.Debug.Directory = "\x00" }},
|
||||
} {
|
||||
t.Run(test.name, func(t *testing.T) {
|
||||
c := Default()
|
||||
|
||||
Reference in New Issue
Block a user