@ -28,7 +28,7 @@ use NGCP::Panel::Utils::DateTime qw();
#use NGCP::Panel::Utils::ProfilePackages qw(); #since it depends on Utils::Subscribers and thus Sipwise::Base, importin it causes segfault when creating threads..
#is($intervals_b->{total_count},scalar (grep { $_->{contact_id} == $custcontact9->{id} } values %customer_map),"check total count of thread b results");
#is($intervals_c->{total_count},3,"check total count of thread c results");
ok($t2-$t1<$delta_serialized,'expected delay to assume only required contracts were locked and requests were performed in parallel')if!$disable_parallel_catchup;
ok(($t2-$t1)<$delta_serialized,'expected delay to assume only required contracts were locked and requests were performed in parallel')if!$disable_parallel_catchup;
#is($intervals_b->{total_count},scalar (grep { $_->{contact_id} == $custcontact9->{id} } values %customer_map),"check total count of thread b results");
#is($intervals_c->{total_count},3,"check total count of thread c results");
ok($t2-$t1<$delta_serialized,'expected delay to assume only required contracts were locked and requests were performed in parallel')if!$disable_parallel_catchup;
ok(($t2-$t1)<$delta_serialized,'expected delay to assume only required contracts were locked and requests were performed in parallel')if!$disable_parallel_catchup;
is($got_asc->[$i]->{lock},4,"check if subscriber is locked now");
}
ok($t2-$t1<$delta_serialized,'expected delay to assume only required contracts were locked and requests were performed in parallel')if!$disable_parallel_catchup;
ok(($t2-$t1)<$delta_serialized,'expected delay to assume only required contracts were locked and requests were performed in parallel')if!$disable_parallel_catchup;
is($got_asc->[$i]->{lock},4,"check if subscriber is locked now");
}
ok($t2-$t1<$delta_serialized,'expected delay to assume only required contracts were locked and requests were performed in parallel')if!$disable_parallel_catchup;
ok(($t2-$t1)<$delta_serialized,'expected delay to assume only required contracts were locked and requests were performed in parallel')if!$disable_parallel_catchup;