diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index ebd20fcf..50eabdb4 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -101,6 +101,7 @@ list(APPEND TEST_LIST
test_60_disconnection
test_61_superclient_environment_variable
+ test_94_tcpv4_custom_guid_transform_locators
test_95_tcpv4_cli
test_96_tcpv6_cli
test_97_tcpv4_env_var
diff --git a/test/configuration/test_cases/test_94_tcpv4_custom_guid_transform_locators.xml b/test/configuration/test_cases/test_94_tcpv4_custom_guid_transform_locators.xml
new file mode 100644
index 00000000..d039d41c
--- /dev/null
+++ b/test/configuration/test_cases/test_94_tcpv4_custom_guid_transform_locators.xml
@@ -0,0 +1,97 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Knows all
+
+
+
+
+
+
+ transport_client_1
+ TCPv4
+
+ 0
+
+
+
+ transport_client_2
+ TCPv4
+
+ 0
+
+
+
+
+
+
+ 63.6c.69.65.6e.74.31.5f.73.31.5f.5f
+ false
+
+ transport_client_1
+
+
+
+ CLIENT
+
+
+
+ 127.0.0.1
+ 42200
+ 42200
+
+
+
+
+
+
+
+
+
+
+ 63.6c.69.65.6e.74.32.5f.73.31.5f.5f
+ false
+
+ transport_client_2
+
+
+
+ CLIENT
+
+
+
+ 127.0.0.1
+ 42200
+ 42200
+
+
+
+
+
+
+
+
+
+ topic_1
+ HelloWorld
+
+
+
+
+
diff --git a/test/configuration/test_solutions/test_94_tcpv4_custom_guid_transform_locators.snapshot b/test/configuration/test_solutions/test_94_tcpv4_custom_guid_transform_locators.snapshot
new file mode 100644
index 00000000..30662b2c
--- /dev/null
+++ b/test/configuration/test_solutions/test_94_tcpv4_custom_guid_transform_locators.snapshot
@@ -0,0 +1,24 @@
+
+
+
+ Knows all
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/test/configuration/tests_params.json b/test/configuration/tests_params.json
index c7163ccc..b37f6f41 100644
--- a/test/configuration/tests_params.json
+++ b/test/configuration/tests_params.json
@@ -2547,6 +2547,64 @@
}
},
+ "test_94_tcpv4_custom_guid_transform_locators":
+ {
+ "description": [
+ "Test that a TCP discovery server with a custom GUID (-i CLI param) and listening on any (0.0.0.0)\n",
+ "is able to communicate with a client that connects to localhost (127.0.0.1).\n",
+ "This test is a regression from #22006"
+ ],
+
+ "processes":
+ {
+ "main":
+ {
+ "xml_config_file": "/test_cases/test_94_tcpv4_custom_guid_transform_locators.xml",
+ "validation":
+ {
+ "exit_code_validation":
+ {
+ "expected_exit_code": 0
+ },
+ "stderr_validation":
+ {
+ "err_expected_lines": 0
+ },
+ "count_lines_validation":
+ {
+ "file_path": "/test_solutions/test_94_tcpv4_custom_guid_transform_locators.snapshot"
+ },
+ "ground_truth_validation":
+ {
+ "guidless": false,
+ "file_path": "/test_solutions/test_94_tcpv4_custom_guid_transform_locators.snapshot"
+ }
+ }
+ },
+ "fastddstool":
+ {
+ "kill_time": 6,
+ "tool_config":
+ {
+ "id" : 0,
+ "tcp_address": "0.0.0.0",
+ "tcp_port": 42200
+ },
+ "validation":
+ {
+ "exit_code_validation":
+ {
+ "expected_exit_code": 0
+ },
+ "stderr_validation":
+ {
+ "err_expected_lines": 0
+ }
+ }
+ }
+ }
+ },
+
"test_95_tcpv4_cli":
{
"description": [