From 951bdd86ddb33eab05fc2d7523f8db9b4c95822f Mon Sep 17 00:00:00 2001 From: Harald Musum Date: Thu, 15 Aug 2024 20:41:50 +0200 Subject: [PATCH] Use 2 container nodes also for simple app --- .../multiple_configservers/filedistribution.rb | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tests/cloudconfig/multiple_configservers/filedistribution.rb b/tests/cloudconfig/multiple_configservers/filedistribution.rb index dc4470a59..5dbff14e9 100644 --- a/tests/cloudconfig/multiple_configservers/filedistribution.rb +++ b/tests/cloudconfig/multiple_configservers/filedistribution.rb @@ -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)