aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2019-05-30 03:08:26 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2019-05-30 03:08:26 +0000
commit18cd60ca99ecf66370633c1435cfc761f26d13a2 (patch)
tree0888b24758ce2a210b4aaf8429b6c357b265b8a0
parentdfb8ac60902dfbc3dcb89fa168d1e3c57229285d (diff)
parent4205f19dc2dfccc1dea5cd843ba764dbe6110165 (diff)
downloadsystem-test-harness-18cd60ca99ecf66370633c1435cfc761f26d13a2.tar.gz
Snap for 5616560 from 4205f19dc2dfccc1dea5cd843ba764dbe6110165 to qt-c2f2-release
Change-Id: I850cac4066612440254b247876bbbded0efc361c
-rw-r--r--src/faceauth_tests.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/faceauth_tests.cc b/src/faceauth_tests.cc
index 32088fa..273cd5a 100644
--- a/src/faceauth_tests.cc
+++ b/src/faceauth_tests.cc
@@ -51,7 +51,7 @@ unique_ptr<test_harness::TestHarness> FaceAuthTest::uart_printer;
void FaceAuthTest::SetUpTestCase() {
srand(time(NULL));
- for (int i = 0; i < MAX_NUM_PROFILES; ++i) {
+ for (int i = 0; i <= MAX_NUM_PROFILES; ++i) {
user_ids.push_back(rand());
}
uart_printer = test_harness::TestHarness::MakeUnique();