summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavlin Radoslavov <pavlin@google.com>2016-05-03 23:00:15 -0700
committerPavlin Radoslavov <pavlin@google.com>2016-05-04 16:43:21 -0700
commitbafbe828a56b7a8654b09c5612c8a0021ea5a864 (patch)
tree5cb2948307603fb6186bd2dd11d1d421d26f999a
parent1db7f1b0a7d235977ac81623ab06c51df8b493de (diff)
downloadandroid-system-bt-bafbe828a56b7a8654b09c5612c8a0021ea5a864.tar.gz
android-system-bt-bafbe828a56b7a8654b09c5612c8a0021ea5a864.tar.xz
Fixed test_periodic_unregister_processing_queue unit test
Removed a copy-and-paste check in the test_periodic_unregister_processing_queue unit test. The removed check adds little value - it has time-dependency, and is not robust. Bug: 26982349 Change-Id: I4adb948713b9946b5eb821d6fe52b7ada1400182
-rw-r--r--osi/test/alarm_test.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/osi/test/alarm_test.cpp b/osi/test/alarm_test.cpp
index e4436aa..4ef5805 100644
--- a/osi/test/alarm_test.cpp
+++ b/osi/test/alarm_test.cpp
@@ -415,7 +415,6 @@ TEST_F(AlarmTest, test_periodic_unregister_processing_queue) {
for (int i = 0; i < 5; i++) {
alarm_set_on_queue(alarms[i], 20 + i, cb, INT_TO_PTR(i), queue);
}
- EXPECT_EQ(cb_counter, 0);
EXPECT_TRUE(WakeLockHeld());
for (int i = 1; i <= 20; i++) {