File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
pkg/coordinator/tasks/run_external_tasks Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import (
1010 "time"
1111
1212 "github.com/ethpandaops/assertoor/pkg/coordinator/types"
13+ "github.com/ethpandaops/assertoor/pkg/coordinator/vars"
1314 "github.com/sirupsen/logrus"
1415 "gopkg.in/yaml.v2"
1516)
@@ -83,7 +84,7 @@ func (t *Task) Execute(ctx context.Context) error {
8384 // create new variable scope for test configuration
8485 testVars := t .ctx .Vars .NewScope ()
8586 testVars .SetVar ("scopeOwner" , uint64 (t .ctx .Index ))
86- t .ctx .Outputs .SetSubScope ("childScope" , testVars )
87+ t .ctx .Outputs .SetSubScope ("childScope" , vars . NewScopeFilter ( testVars ) )
8788
8889 // add default config from external test to variable scope
8990 for k , v := range testConfig .Config {
@@ -100,7 +101,7 @@ func (t *Task) Execute(ctx context.Context) error {
100101 testConfig .ConfigVars [k ] = v
101102 }
102103
103- err = testVars .CopyVars (testVars , testConfig .ConfigVars )
104+ err = testVars .CopyVars (t . ctx . Vars , testConfig .ConfigVars )
104105 if err != nil {
105106 return fmt .Errorf ("error decoding external test configVars %v: %v" , t .config .TestFile , err )
106107 }
Original file line number Diff line number Diff line change @@ -171,7 +171,6 @@ tasks:
171171cleanupTasks :
172172 - name : run_shell
173173 title : " Cleanup temp dir for execution spec tests"
174- id : tempdir
175174 config :
176175 shell : bash
177176 envVars :
You can’t perform that action at this time.
0 commit comments