Skip to content

Commit

Permalink
HPCC-30426 The soaptext1.ecl fails in cloud.
Browse files Browse the repository at this point in the history
Replace
  import ^ as root;
  serviceUrl := #IFDEFINED(root.url, 'http://.:9876');

lines with
  TargetIP := '.' : STORED('TargetIP');
  serviceUrl := 'http://'+TargetIP+':9876';
in soaptext1.ecl

Add this line to ecl-test-azure.json "Params" section:
 "soaptext1.ecl:TargetIP=roxie"

Tested manually on BM/VM and Minkube systems.

Signed-off-by: Attila Vamos <[email protected]>
  • Loading branch information
AttilaVamos committed Oct 4, 2023
1 parent 8b3ec0a commit 7d084db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion testing/regress/ecl-test-azure.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@
"soapcall.ecl:targetIP=roxie",
"roxiegzip.ecl:TargetIP=roxie",
"roxiewhitespace.ecl:TargetIP=roxie",
"roxiepipe.ecl:TargetIP=roxie"
"roxiepipe.ecl:TargetIP=roxie",
"soaptext1.ecl:TargetIP=roxie"
],
"engineParams":[
"failOnLeaks",
Expand Down
5 changes: 2 additions & 3 deletions testing/regress/ecl/soaptext1.ecl
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@
//nothor
//nohthor

import ^ as root;

serviceUrl := #IFDEFINED(root.url, 'http://.:9876');
TargetIP := '.' : STORED('TargetIP');
serviceUrl := 'http://'+TargetIP+':9876';

//--- end of version configuration ---

Expand Down

0 comments on commit 7d084db

Please sign in to comment.