commit | a9655ad144351e7a3593a44a955309a2708bfc5d | [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 | 1bfc22172dd7e97f5dd30417db913ccdf7329eb4 | |
parent | 2b8b5059abd1ffacf7520e952b806bf667c73b21 [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