Fix a bug in test that cause the flakyness in SimpleConditionTracker_test.
Test: statsd_test Change-Id: I9f785d26c857023fbe44d71eb3490a50fcc6139a
This commit is contained in:
@@ -238,6 +238,7 @@ TEST(SimpleConditionTrackerTest, TestSlicedCondition) {
|
||||
vector<MatchingState> matcherState;
|
||||
matcherState.push_back(MatchingState::kMatched);
|
||||
matcherState.push_back(MatchingState::kNotMatched);
|
||||
matcherState.push_back(MatchingState::kNotMatched);
|
||||
vector<sp<ConditionTracker>> allConditions;
|
||||
vector<ConditionState> conditionCache(1, ConditionState::kNotEvaluated);
|
||||
vector<bool> changedCache(1, false);
|
||||
@@ -322,6 +323,7 @@ TEST(SimpleConditionTrackerTest, TestSlicedWithNoOutputDim) {
|
||||
vector<MatchingState> matcherState;
|
||||
matcherState.push_back(MatchingState::kMatched);
|
||||
matcherState.push_back(MatchingState::kNotMatched);
|
||||
matcherState.push_back(MatchingState::kNotMatched);
|
||||
vector<sp<ConditionTracker>> allConditions;
|
||||
vector<ConditionState> conditionCache(1, ConditionState::kNotEvaluated);
|
||||
vector<bool> changedCache(1, false);
|
||||
|
||||
Reference in New Issue
Block a user