Skip to content

Commit

Permalink
Merge pull request #4175 from vespa-engine/hmusum/use-2-container-nod…
Browse files Browse the repository at this point in the history
…es-3

Use 2 container nodes also for simple app
  • Loading branch information
baldersheim authored Aug 15, 2024
2 parents dd6810a + 951bdd8 commit 886f3ba
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions tests/cloudconfig/multiple_configservers/filedistribution.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,15 @@ def deploy_test_app(add_searcher=nil)
app = ContainerApp.new.
container(Container.new.search(Searching.new.
chain(Chain.new.add(
Searcher.new("com.yahoo.vespatest.ExtraHitSearcher"))))
.node({ :hostalias => "node4" })
.node({ :hostalias => "node5" }))
Searcher.new("com.yahoo.vespatest.ExtraHitSearcher")))).
node({ :hostalias => "node4" }).
node({ :hostalias => "node5" }))
else
puts "Deploying simple app"
app = ContainerApp.new
app = ContainerApp.new.
container(Container.new.search(Searching.new).
node({ :hostalias => "node4" }).
node({ :hostalias => "node5" }))
end

app = app.configserver("node1").num_hosts(@num_hosts)
Expand Down

0 comments on commit 886f3ba

Please sign in to comment.