Remove unnecessary assert to fix flaky test

Bug: 285214482
Test: atest VtsHalGnssTargetTest --iterations=100  -- --test-arg com.android.tradefed.testtype.GTest:native-test-flag:"--gtest_filter=*TestGnssMeasurementIntervals_WithoutLocation*"

Change-Id: Ib6aa8e5be17c50d00faea5096e7cee481acb8584
This commit is contained in:
Yu-Han Yang 2023-06-23 23:46:42 +00:00
parent 84310761ce
commit 8687b2a585

View file

@ -486,8 +486,6 @@ void GnssHalTest::collectSvInfoListTimestamps(const int numMeasurementEvents,
auto status = aidl_gnss_hal_->startSvStatus();
EXPECT_TRUE(status.isOk());
ASSERT_TRUE(aidl_gnss_cb_->sv_info_list_timestamps_millis_cbq_.size() ==
aidl_gnss_cb_->sv_info_list_cbq_.size());
long lastElapsedRealtimeMillis = 0;
for (int i = 0; i < numMeasurementEvents; i++) {
long timeStamp;