File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
cookbooks/aws-parallelcluster-platform/spec/unit/recipes Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 1212 runner = runner ( platform : platform , version : version ) do |node |
1313 node . override [ 'cluster' ] [ 'system_pyenv_root' ] = system_pyenv_root
1414 node . override [ 'cluster' ] [ 'python-version' ] = python_version
15+ node . override [ 'cluster' ] [ 'region' ] = 'us-iso-east-1'
1516 end
1617 runner . converge ( described_recipe )
1718 end
3435 end
3536
3637 context "when region starts with us-iso" do
37- before do
38- allow ( node ) . to receive ( :[] ) . with ( 'cluster' ) . and_return ( { 'region' => 'us-iso-east-1' } )
39- end
40-
4138 it 'installs python packages' do
4239 is_expected . to run_bash ( "pip install" ) . with (
43- user : '**** ' ,
40+ user : 'root ' ,
4441 group : 'root' ,
4542 cwd : "#{ node [ 'cluster' ] [ 'base_dir' ] } "
4643 ) . with_code ( /tar xzf cookbook-dependencies.tgz/ )
You can’t perform that action at this time.
0 commit comments