Run binderchannel android tests. (#8306)

This commit is contained in:
markb74 2021-07-14 13:10:28 +02:00 committed by GitHub
parent eb802cf6b1
commit 5e18ff208a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 5 deletions

View File

@ -325,11 +325,6 @@ public final class BinderClientTransportTest {
this.headers = headers;
}
@Override
public void closed(Status status, Metadata trailers) {
this.closedStatus = status;
}
@Override
public void closed(Status status, RpcProgress rpcProgress, Metadata trailers) {
this.closedStatus = status;

View File

@ -38,3 +38,18 @@ gcloud firebase test android run \
--device model=Nexus6P,version=23,locale=en,orientation=portrait \
--device model=Nexus6,version=22,locale=en,orientation=portrait \
--device model=Nexus6,version=21,locale=en,orientation=portrait
# Build and run binder transport instrumentation tests on Firebase Test Lab
cd ../binder
../gradlew assembleDebug
../gradlew assembleDebugAndroidTest
gcloud firebase test android run \
--type instrumentation \
--test build/outputs/apk/androidTest/debug/grpc-binder-debug-androidTest.apk \
--device model=Nexus6P,version=27,locale=en,orientation=portrait \
--device model=Nexus6P,version=26,locale=en,orientation=portrait \
--device model=Nexus6P,version=25,locale=en,orientation=portrait \
--device model=Nexus6P,version=24,locale=en,orientation=portrait \
--device model=Nexus6P,version=23,locale=en,orientation=portrait \
--device model=Nexus6,version=22,locale=en,orientation=portrait \
--device model=Nexus6,version=21,locale=en,orientation=portrait