Skip to content

Commit defe4b7

Browse files
Add Conformance Test Protos (#2887)
1 parent ded7eda commit defe4b7

File tree

284 files changed

+942474
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

284 files changed

+942474
-0
lines changed

buildSrc/src/main/java/com/google/firebase/gradle/plugins/ci/device/FirebaseTestServer.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ public void uploadApks(String variantName, File testApk, File testedApk) {
7878
"--type=instrumentation",
7979
"--app=" + testedApkPath,
8080
"--test=" + testApk,
81+
"--timeout=30m",
8182
"--use-orchestrator",
8283
"--no-auto-google-login",
8384
"--no-record-video",
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Conformance Tests
2+
3+
These tested are copied from an internal test suite
4+
(cs/apphosting/datastore/testing/query_conformance/firestore_v1_traces) and should not be modified.
5+
The files were converted from text to binary encoding. Some files were split to reduce overall
6+
memory consumption during the test run.
7+
8+
The Protobuf definition is at
9+
`firebase-firestore/src/proto/google/apphosting/datastore/testing/datastore_test_trace.proto`.

firebase-firestore/src/androidTest/assets/conformance/com_google_cloud_datastore_backend_integration_firestorev1_FirestoreV1QueryTest_allDescendants_withKind_datastoreIndex.pb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
vcom.google.cloud.datastore.backend.integration.firestorev1.FirestoreV1QueryTest.allDescendants_withKind_datastoreIndex��ZT
3+
R
4+
5projects/example.com:id/databases/(default)/documentsfoo"
5+
6+
__name__� � generic�Stream failed. ID=-5171147404914793504;APPLICATION_ERROR;The query requires an index. You can create it here: https://console.firebase.google.com/v1/r/project/example.com:id/firestore/indexes?create_composite=Ckpwcm9qZWN0cy9leGFtcGxlLmNvbTppZC9kYXRhYmFzZXMvKGRlZmF1bHQpL2NvbGxlY3Rpb25Hcm91cHMvZm9vL2luZGV4ZXMvXxACGgwKCF9fbmFtZV9fEAI;AppErrorCode=4;google.firestore.v1/Firestore.RunQuery;StartTimeMs=1593570657215;Deadline(sec)=300.0;Non-FailFast;No-EndUserCredsRequested;EffSecLevel=integrity;Server=[::1]:27290� N
7+
=
8+
5projects/example.com:id/databases/(default)/documents �������[

0 commit comments

Comments
 (0)