From 1f315c749385e00f9ed49a9ecabf3282bfa22ab0 Mon Sep 17 00:00:00 2001 From: ionutboangiu Date: Fri, 7 Jul 2023 12:11:38 -0400 Subject: [PATCH] Make small revision to comment structure --- general_tests/shared_client_lock_it_test.go | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/general_tests/shared_client_lock_it_test.go b/general_tests/shared_client_lock_it_test.go index 9876ee2bd..088846bf6 100644 --- a/general_tests/shared_client_lock_it_test.go +++ b/general_tests/shared_client_lock_it_test.go @@ -52,12 +52,14 @@ var ( // Test sets the charger and attribute profiles. testSharedClientLockSetProfiles, - // Test simulates a scenario that is occurring when using an older rpcclient library version where a request is dispatched from CDRs to ChargerS via a *localhost connection. - // The connection is read-locked until ChargerS responds. ChargerS, in turn, sends a request to AttributeS using - // the same *localhost connection. However, AttributeS is currently unavailable, leading to a "can't find rpc service" error. + // Test simulates a scenario that is occurring when using an older rpcclient library version + // where a request is dispatched from CDRs to ChargerS via a *localhost connection. + // The connection is read-locked until ChargerS responds. ChargerS, in turn, sends a request + // to AttributeS using the same *localhost connection. However, AttributeS is currently unavailable, + // leading to a "can't find rpc service" error. // This error is considered a network error, which prompts a reconnection attempt. The reconnection process - // involves a lock operation during the disconnect function. As the connection is already read-locked from the initial request, - // this results in a deadlock and the original request will time out. + // involves a lock operation during the disconnect function. As the connection is already read-locked from + // the initial request, this results in a deadlock and the original request will time out. testSharedClientLockCDRsProcessEvent, testSharedClientLockStopEngine, }