Skip to content

Commit 2ea2f36

Browse files
committed
Merge remote-tracking branch 'origin/dconeybe/SnappyPatchRevert' into TransactionOptions
2 parents d7ffb81 + 61d6ff9 commit 2ea2f36

File tree

5 files changed

+44
-2
lines changed

5 files changed

+44
-2
lines changed

.github/workflows/android.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,10 @@ jobs:
6262
git config --global credential.helper 'store --file /tmp/git-credentials'
6363
echo 'https://${{ github.token }}@github.com' > /tmp/git-credentials
6464
65+
- name: Enable Git Long-paths Support
66+
if: runner.os == 'Windows'
67+
run: git config --system core.longpaths true
68+
6569
- name: Check expanded matrix config
6670
if: github.event.inputs.expanded_matrix == '1'
6771
run: |

.github/workflows/desktop.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@ jobs:
101101
git config --global credential.helper 'store --file /tmp/git-credentials'
102102
echo 'https://${{ github.token }}@github.com' > /tmp/git-credentials
103103
104+
- name: Enable Git Long-paths Support
105+
if: runner.os == 'Windows'
106+
run: git config --system core.longpaths true
107+
104108
- name: Setup Xcode version (macos)
105109
if: runner.os == 'macOS'
106110
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode_version }}.app/Contents/Developer

.github/workflows/integration_tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,9 @@ jobs:
277277
run: |
278278
git config --global credential.helper 'store --file /tmp/git-credentials'
279279
echo 'https://${{ github.token }}@github.com' > /tmp/git-credentials
280+
- name: Enable Git Long-paths Support
281+
if: runner.os == 'Windows'
282+
run: git config --system core.longpaths true
280283
- name: Set env vars (Linux)
281284
if: startsWith(matrix.os, 'ubuntu')
282285
run: echo "VCPKG_TRIPLET=x64-linux" >> $GITHUB_ENV
@@ -471,6 +474,9 @@ jobs:
471474
run: |
472475
git config --global credential.helper 'store --file /tmp/git-credentials'
473476
echo 'https://${{ github.token }}@github.com' > /tmp/git-credentials
477+
- name: Enable Git Long-paths Support
478+
if: runner.os == 'Windows'
479+
run: git config --system core.longpaths true
474480
- name: Add msbuild to PATH (Windows)
475481
if: startsWith(matrix.os, 'windows')
476482
uses: microsoft/[email protected]

cmake/external/firestore.cmake

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@ function(GetReleasedDep)
3636
firestore
3737

3838
DOWNLOAD_DIR ${FIREBASE_DOWNLOAD_DIR}
39-
# Pin to the HEAD commit of https://github.com/firebase/firebase-cpp-sdk/pull/932
39+
# Pin to the HEAD commit of https://github.com/firebase/firebase-ios-sdk/pull/9838
40+
# (Firestore TransactionOptions added, to specify maxAttempts)
4041
GIT_REPOSITORY https://github.com/firebase/firebase-ios-sdk.git
41-
GIT_TAG 0fe625cf72254bfb8b0a899dd2c006836fafe475
42+
GIT_TAG 141fdcb6c3b1efad19708f77ec88a5516c786d8b
4243

4344
PREFIX ${PROJECT_BINARY_DIR}
4445

firestore/integration_test_internal/src/bundle_test.cc

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ 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+
145148
Firestore* db = TestFirestore();
146149
auto bundle = CreateTestBundle(db);
147150

@@ -152,6 +155,9 @@ TEST_F(BundleTest, CanLoadBundlesWithoutProgressUpdates) {
152155
}
153156

154157
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+
155161
Firestore* db = TestFirestore();
156162
auto bundle = CreateTestBundle(db);
157163

@@ -180,6 +186,9 @@ TEST_F(BundleTest, CanLoadBundlesWithProgressUpdates) {
180186
}
181187

182188
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+
183192
Firestore* db = TestFirestore();
184193
auto bundle = CreateTestBundle(db);
185194

@@ -216,6 +225,9 @@ TEST_F(BundleTest, CanDeleteFirestoreFromProgressUpdate) {
216225
}
217226

218227
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+
219231
// TODO(wuandy): This test fails on Windows CI, but
220232
// local run is fine. We need to figure out why and re-enable it.
221233
SKIP_TEST_ON_WINDOWS;
@@ -244,6 +256,9 @@ TEST_F(BundleTest, LoadBundlesForASecondTimeSkips) {
244256
}
245257

246258
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+
247262
// TODO(wuandy): This test fails on Windows CI, but
248263
// local run is fine. We need to figure out why and re-enable it.
249264
SKIP_TEST_ON_WINDOWS;
@@ -273,6 +288,9 @@ TEST_F(BundleTest, LoadInvalidBundlesShouldFail) {
273288
}
274289

275290
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+
276294
// TODO(wuandy, b/189477267): This test fails on Windows CI, but
277295
// local run is fine. We need to figure out why and re-enable it.
278296
SKIP_TEST_ON_WINDOWS;
@@ -319,6 +337,9 @@ TEST_F(BundleTest, LoadBundleWithDocumentsAlreadyPulledFromBackend) {
319337
}
320338

321339
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+
322343
// TODO(wuandy, b/189477267): This test fails on Windows CI, but
323344
// local run is fine. We need to figure out why and re-enable it.
324345
SKIP_TEST_ON_WINDOWS;
@@ -343,6 +364,9 @@ TEST_F(BundleTest, LoadedDocumentsShouldNotBeGarbageCollectedRightAway) {
343364
}
344365

345366
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+
346370
Firestore* db = TestFirestore();
347371
auto bundle = CreateBundle("other-project");
348372
std::vector<LoadBundleTaskProgress> progresses;
@@ -363,6 +387,9 @@ TEST_F(BundleTest, LoadDocumentsFromOtherProjectsShouldFail) {
363387
}
364388

365389
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+
366393
Firestore* db = TestFirestore();
367394
{
368395
auto future = db->NamedQuery("DOES_NOT_EXIST");

0 commit comments

Comments
 (0)