Skip to content

Commit e3373f0

Browse files
committed
Merge remote-tracking branch 'remotes/origin/dconeybe/SnappyPatchRevert' into TransactionOptions
2 parents 2ea2f36 + 0c78a7b commit e3373f0

File tree

2 files changed

+20
-27
lines changed

2 files changed

+20
-27
lines changed

.github/workflows/integration_tests.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1146,11 +1146,21 @@ jobs:
11461146
uses: actions/setup-node@v2
11471147
with:
11481148
node-version: 14.x
1149+
- name: Setup java 17 for Firestore emulator
1150+
uses: actions/setup-java@v3
1151+
with:
1152+
distribution: 'temurin'
1153+
java-version: '17'
11491154
- name: Setup Firestore Emulator
11501155
if: steps.get-device-type.outputs.device_type == 'virtual' && contains(needs.check_and_prepare.outputs.apis, 'firestore')
11511156
run: |
11521157
npm install -g firebase-tools
11531158
firebase emulators:start --only firestore --project demo-example &
1159+
- name: Setup java 8 for test_simulator.py
1160+
uses: actions/setup-java@v3
1161+
with:
1162+
distribution: 'temurin'
1163+
java-version: '8'
11541164
- name: Run Android integration tests on Emulator locally
11551165
timeout-minutes: 120
11561166
if: steps.get-device-type.outputs.device_type == 'virtual'
@@ -1251,6 +1261,11 @@ jobs:
12511261
uses: actions/setup-node@v2
12521262
with:
12531263
node-version: 14.x
1264+
- name: Setup java for Firestore emulator
1265+
uses: actions/setup-java@v3
1266+
with:
1267+
distribution: 'temurin'
1268+
java-version: '17'
12541269
- name: Setup Firestore Emulator
12551270
if: steps.get-device-type.outputs.device_type == 'virtual' && contains(needs.check_and_prepare.outputs.apis, 'firestore')
12561271
run: |
@@ -1350,6 +1365,11 @@ jobs:
13501365
timeout_minutes: 1
13511366
max_attempts: 3
13521367
command: pip install -r scripts/gha/requirements.txt
1368+
- name: Setup java for Firestore emulator
1369+
uses: actions/setup-java@v3
1370+
with:
1371+
distribution: 'temurin'
1372+
java-version: '17'
13531373
- name: Setup Firestore Emulator
13541374
if: contains(needs.check_and_prepare.outputs.apis, 'firestore')
13551375
run: |

firestore/integration_test_internal/src/bundle_test.cc

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,6 @@ class BundleTest : public FirestoreIntegrationTest {
142142
};
143143

144144
TEST_F(BundleTest, CanLoadBundlesWithoutProgressUpdates) {
145-
GTEST_SKIP() << "Bundle tests fails often on Android and iOS in GitHub "
146-
"Actions and needs to be investigated (b/233751585)";
147-
148145
Firestore* db = TestFirestore();
149146
auto bundle = CreateTestBundle(db);
150147

@@ -155,9 +152,6 @@ TEST_F(BundleTest, CanLoadBundlesWithoutProgressUpdates) {
155152
}
156153

157154
TEST_F(BundleTest, CanLoadBundlesWithProgressUpdates) {
158-
GTEST_SKIP() << "Bundle tests fails often on Android and iOS in GitHub "
159-
"Actions and needs to be investigated (b/233751585)";
160-
161155
Firestore* db = TestFirestore();
162156
auto bundle = CreateTestBundle(db);
163157

@@ -186,9 +180,6 @@ TEST_F(BundleTest, CanLoadBundlesWithProgressUpdates) {
186180
}
187181

188182
TEST_F(BundleTest, CanDeleteFirestoreFromProgressUpdate) {
189-
GTEST_SKIP() << "Bundle tests fails often on Android and iOS in GitHub "
190-
"Actions and needs to be investigated (b/233751585)";
191-
192183
Firestore* db = TestFirestore();
193184
auto bundle = CreateTestBundle(db);
194185

@@ -225,9 +216,6 @@ TEST_F(BundleTest, CanDeleteFirestoreFromProgressUpdate) {
225216
}
226217

227218
TEST_F(BundleTest, LoadBundlesForASecondTimeSkips) {
228-
GTEST_SKIP() << "Bundle tests fails often on Android and iOS in GitHub "
229-
"Actions and needs to be investigated (b/233751585)";
230-
231219
// TODO(wuandy): This test fails on Windows CI, but
232220
// local run is fine. We need to figure out why and re-enable it.
233221
SKIP_TEST_ON_WINDOWS;
@@ -256,9 +244,6 @@ TEST_F(BundleTest, LoadBundlesForASecondTimeSkips) {
256244
}
257245

258246
TEST_F(BundleTest, LoadInvalidBundlesShouldFail) {
259-
GTEST_SKIP() << "Bundle tests fails often on Android and iOS in GitHub "
260-
"Actions and needs to be investigated (b/233751585)";
261-
262247
// TODO(wuandy): This test fails on Windows CI, but
263248
// local run is fine. We need to figure out why and re-enable it.
264249
SKIP_TEST_ON_WINDOWS;
@@ -288,9 +273,6 @@ TEST_F(BundleTest, LoadInvalidBundlesShouldFail) {
288273
}
289274

290275
TEST_F(BundleTest, LoadBundleWithDocumentsAlreadyPulledFromBackend) {
291-
GTEST_SKIP() << "Bundle tests fails often on Android and iOS in GitHub "
292-
"Actions and needs to be investigated (b/233751585)";
293-
294276
// TODO(wuandy, b/189477267): This test fails on Windows CI, but
295277
// local run is fine. We need to figure out why and re-enable it.
296278
SKIP_TEST_ON_WINDOWS;
@@ -337,9 +319,6 @@ TEST_F(BundleTest, LoadBundleWithDocumentsAlreadyPulledFromBackend) {
337319
}
338320

339321
TEST_F(BundleTest, LoadedDocumentsShouldNotBeGarbageCollectedRightAway) {
340-
GTEST_SKIP() << "Bundle tests fails often on Android and iOS in GitHub "
341-
"Actions and needs to be investigated (b/233751585)";
342-
343322
// TODO(wuandy, b/189477267): This test fails on Windows CI, but
344323
// local run is fine. We need to figure out why and re-enable it.
345324
SKIP_TEST_ON_WINDOWS;
@@ -364,9 +343,6 @@ TEST_F(BundleTest, LoadedDocumentsShouldNotBeGarbageCollectedRightAway) {
364343
}
365344

366345
TEST_F(BundleTest, LoadDocumentsFromOtherProjectsShouldFail) {
367-
GTEST_SKIP() << "Bundle tests fails often on Android and iOS in GitHub "
368-
"Actions and needs to be investigated (b/233751585)";
369-
370346
Firestore* db = TestFirestore();
371347
auto bundle = CreateBundle("other-project");
372348
std::vector<LoadBundleTaskProgress> progresses;
@@ -387,9 +363,6 @@ TEST_F(BundleTest, LoadDocumentsFromOtherProjectsShouldFail) {
387363
}
388364

389365
TEST_F(BundleTest, GetInvalidNamedQuery) {
390-
GTEST_SKIP() << "Bundle tests fails often on Android and iOS in GitHub "
391-
"Actions and needs to be investigated (b/233751585)";
392-
393366
Firestore* db = TestFirestore();
394367
{
395368
auto future = db->NamedQuery("DOES_NOT_EXIST");

0 commit comments

Comments
 (0)