Skip to content

Commit

Permalink
make unit test stable (apache#1805)
Browse files Browse the repository at this point in the history
  • Loading branch information
beiwei30 authored May 15, 2018
1 parent 3f384fc commit 93a9ccc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public void run() {
}
});

latch.await(5000, TimeUnit.MICROSECONDS);
latch.await();
assertThat(latch.getCount(), is(0L));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public void run() {
}
});

latch.await(5000, TimeUnit.MICROSECONDS);
latch.await();
assertThat(latch.getCount(), is(0L));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public void run() {
}
});

latch.await(5000, TimeUnit.MICROSECONDS);
latch.await();
assertThat(latch.getCount(), is(0L));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public void run() {
}
});

latch.await(5000, TimeUnit.MICROSECONDS);
latch.await();
assertThat(latch.getCount(), is(0L));
}

Expand Down

0 comments on commit 93a9ccc

Please sign in to comment.