test/end_to_end/test_e2e_connection_reconnection.js
// let make sure it will timeout almost immediataly
let make sure it will timeout almost immediataly
let make sure it will timeout almost immediataly
function accelerate_subscription_timeout(subscription, callback) {
            subscription._life_time_counter = subscription.lifeTimeCount - 1;
            subscription.once("terminated", function () {
                callback();
            });
        }
function accelerate_subscription_timeout ( subscription , callback ) { subscription . _life_time_counter = subscription . lifeTimeCount - 1 ; subscription . once ( "terminated" , function ( ) { callback ( ) ; } ) ; }
let make sure it will timeout almost immediataly
let make sure it will timeout almost immediataly
//xx console.log("accelerate_subscription_timeout", subscription.id, " =>  _life_time_counter = ", subscription._life_time_counter, subscription.lifeTimeCount);