commit | bbf0681c640f0ed6d49e618ea758b3b33a7b9c67 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Fri Oct 19 15:24:53 2018 -0700 |
committer | Josh Gao <jmgao@google.com> | Fri Oct 19 15:38:10 2018 -0700 |
tree | 81c46c6c7361a0f380c72bd62970a722883f31b5 | |
parent | ed96d4d9131fc7e3da4dba503728d683fa35ee1c [diff] |
adb: set main thread in transport tests. Previously, we were relying on tests run previously to set the main thread ID, which fails when the tests are sharded. Test: for i in `seq 0 4`; do GTEST_SHARD_INDEX=$i GTEST_TOTAL_SHARDS=5 /data/nativetest64/adbd_test/adbd_test; done Change-Id: I15ce70b4598b6ffcf3f5467d16c917f23f668daf