From f7d5dc51de08d6d4ff60a99c194b982a24f67a7d Mon Sep 17 00:00:00 2001 From: Rene Krenn Date: Sat, 25 Jul 2015 00:35:41 +0200 Subject: [PATCH] MT#13903 fix balanceintervals test #2 Change-Id: Iccfa7cc85bf466b28383ff9ff4deff2549f6e54c --- t/api-balanceintervals.t | 4 ++-- t/api-threads.t | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/t/api-balanceintervals.t b/t/api-balanceintervals.t index 30037cff3a..1070dc5bcd 100644 --- a/t/api-balanceintervals.t +++ b/t/api-balanceintervals.t @@ -23,7 +23,7 @@ BEGIN { } use NGCP::Panel::Utils::DateTime qw(); -my $is_local_env = 1; +my $is_local_env = 0; use Config::General; @@ -614,7 +614,7 @@ sub _check_interval_history { } while($nexturi); ok($i == $total_count,$label . "check if all expected items are listed"); - diag(Dumper(\@intervals)) if 1; #$error; + diag(Dumper(\@intervals)) if $error; } diff --git a/t/api-threads.t b/t/api-threads.t index 2a8952aba9..1d7c18484c 100644 --- a/t/api-threads.t +++ b/t/api-threads.t @@ -23,6 +23,7 @@ my $t_b = threads->create(sub { $t_a->join(); $t_b->join(); +ok(1,'threads joined'); #ok($t_a + $t_b == 2,'test threads joined'); done_testing; \ No newline at end of file