X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=test%2Fapp_test%2Fex_rts_receiver.c;h=3873c7799f2da4cd5d69dce3c264c2c4a8a64e39;hb=7c47074587da9f6c1127d9943527c63ca8573111;hp=14ae26c78fef5b396434f7ffec73086b6fb41535;hpb=d9de79acd9c205dc4f795e90a98331628ed6c85b;p=ric-plt%2Flib%2Frmr.git diff --git a/test/app_test/ex_rts_receiver.c b/test/app_test/ex_rts_receiver.c index 14ae26c..3873c77 100644 --- a/test/app_test/ex_rts_receiver.c +++ b/test/app_test/ex_rts_receiver.c @@ -168,6 +168,9 @@ int main( int argc, char** argv ) { if( ack_count < 1 ) { // 1st ack, so we need to connect, and we'll wait for that sleep( 1 ); } + if( rt_count > 5 ) { // but only pause for max 5sec not 1000s! + rt_count = 5; + } rt_count--; msg = rmr_rts_msg( mrc, msg ); // we don't try to resend if this returns retry }