diff options
author | Filip Krzywka <filip.krzywka@nokia.com> | 2019-01-08 15:20:43 +0100 |
---|---|---|
committer | Filip Krzywka <filip.krzywka@nokia.com> | 2019-01-09 07:03:26 +0100 |
commit | eb87542dbdaf427039eb6e963ee78bbd07ce551b (patch) | |
tree | 0c8bc8927ef7efac4de4f91dd61d336139d9a8e4 | |
parent | 7f2c6664854b295eb6779e8df749ac2204f66453 (diff) |
Change xNF simulator healthcheck endpoint
This change follows related changes made in DCAEGEN2-1063
Change-Id: I91a49fde86a8791238bfd738bed9e3e3baa85bea
Issue-ID: DCAEGEN2-1063
Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
-rw-r--r-- | tests/dcaegen2-collectors-hv-ves/testcases/libraries/XnfSimulatorLibrary.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/dcaegen2-collectors-hv-ves/testcases/libraries/XnfSimulatorLibrary.py b/tests/dcaegen2-collectors-hv-ves/testcases/libraries/XnfSimulatorLibrary.py index 46b72b0b..06bd42ea 100644 --- a/tests/dcaegen2-collectors-hv-ves/testcases/libraries/XnfSimulatorLibrary.py +++ b/tests/dcaegen2-collectors-hv-ves/testcases/libraries/XnfSimulatorLibrary.py @@ -131,6 +131,7 @@ class XnfSimulator: should_disable_ssl, should_connect_to_unencrypted_hv_ves): self.port = port + self.healthcheck_server_port = "6063" cert_name_prefix = "" if should_use_valid_certs else "untrusted" certificates_path_with_file_prefix = collector_certs_lookup_dir + cert_name_prefix self.key_store_path = certificates_path_with_file_prefix + "client.p12" @@ -142,6 +143,7 @@ class XnfSimulator: def get_startup_command(self): startup_command = ["--listen-port", self.port, + "--health-check-api-port", self.healthcheck_server_port, "--ves-host", self.hv_collector_host, "--ves-port", "6061", "--key-store", self.key_store_path, @@ -160,7 +162,7 @@ class XnfSimulator: "retries": 1, "test": ["CMD", "curl", "--request", "GET", "--fail", "--silent", "--show-error", - "localhost:" + self.port + "/healthcheck"] + "localhost:" + self.healthcheck_server_port + "/health/ready"] } |