From 7d084dbd6789bed226780506b39f125514615339 Mon Sep 17 00:00:00 2001 From: Attila Vamos Date: Wed, 4 Oct 2023 13:47:33 +0100 Subject: [PATCH] HPCC-30426 The soaptext1.ecl fails in cloud. 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 --- testing/regress/ecl-test-azure.json | 3 ++- testing/regress/ecl/soaptext1.ecl | 5 ++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/testing/regress/ecl-test-azure.json b/testing/regress/ecl-test-azure.json index 487d500e492..c06fdaaf7ab 100644 --- a/testing/regress/ecl-test-azure.json +++ b/testing/regress/ecl-test-azure.json @@ -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", diff --git a/testing/regress/ecl/soaptext1.ecl b/testing/regress/ecl/soaptext1.ecl index 6c79d123a16..a54fd2241aa 100644 --- a/testing/regress/ecl/soaptext1.ecl +++ b/testing/regress/ecl/soaptext1.ecl @@ -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 ---