commit | 7badb33233ec02c67e737bde515fb0dc3248978b | [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 | 7a08c896dda54b1814a2c7f06e45fff3de98ecdc [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