Skip to content

chore: update GoogleTest to v1.18.0 - #1948

Open
AustinBenoit wants to merge 3 commits into
mainfrom
update-googletest-1.18.0
Open

AustinBenoit wants to merge 3 commits into
mainfrom
update-googletest-1.18.0

Conversation

@AustinBenoit

Copy link
Copy Markdown
Contributor

Description

Update GoogleTest from 1.11.0 to the latest release v1.18.0, pinned to its release commit hash (063de7e9578f82b369302001269680b4b1553359), across:

  • cmake/external/googletest.cmake (SDK unit tests, including updated archive URL and SHA256 hash)
  • */integration_test*/googletest.cmake (standalone CMake integration test projects)
  • testing/test_framework/download_googletest.py (iOS/macOS integration test downloader)

This is a test-only dependency update with zero SDK binary impact.


Testing

Planning on testing with GitHub Actions using the tests-requested: full label to kick off the full integration test matrix.


Type of Change

Place an x the applicable box:

  • Bug fix. Add the issue # below if applicable.
  • New feature. A non-breaking change which adds functionality.
  • Other, such as a build process or documentation change.

Notes

  • Bug fixes and feature changes require an update to the Release Notes section of release_build_files/readme.md.
  • Read the contribution guidelines CONTRIBUTING.md.
  • Changes to the public API require an internal API review. If you'd like to help us make Firebase APIs better, please propose your change in a feature request so that we can discuss it together.

@AustinBenoit AustinBenoit added the tests-requested: full Trigger a FULL set of integration tests (uses expanded test matrix). label Oct 26, 2026
@github-actions github-actions Bot added tests: in-progress This PR's integration tests are in progress. and removed tests-requested: full Trigger a FULL set of integration tests (uses expanded test matrix). labels Oct 26, 2026
@github-actions

github-actions Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

❌  Integration test FAILED

Requested by @AustinBenoit on commit bc80607
Last updated: Mon Oct 26 09:55 PDT 2026
View integration test log & download artifacts

Failures Configs
missing_log [BUILD] [ERROR] [Linux] [1/2 ssl_lib: x86] [1/2 build_type: boringssl]
app_check [TEST] [FAILURE] [tvOS] [macos] [tvos_simulator]
(1 failed tests)  FirebaseAppCheckTest.TestGetTokenForcingRefresh
auth [TEST] [FLAKINESS] [Android] [1/3 os: macos] [1/4 android_device: android_latest]
(1 failed tests)  FirebaseAuthTest.TestRetainedUser
[TEST] [FLAKINESS] [Android] [1/3 os: ubuntu] [1/4 android_device: emulator_ftl_target]
(2 failed tests)  FirebaseAuthTest.TestUpdateUserProfileEmpty
  FirebaseAuthTest.TestUpdateUserProfileNull
firestore
(12 items)[TEST] [FAILURE] [Android] [1/3 os: ubuntu] [1/4 android_device: android_latest]
(5 failed tests)  FirestoreTest.TestQuerySnapshotEventsForAdd
  NumericTransformsTest.CreateDocumentWithIncrement
  ServerTimestampTest.TestServerTimestampsWorkViaTransactionUpdate
  WriteBatchTest.TestBatchesCommitAtomicallyRaisingCorrectEvents
  WriteBatchTest.TestCanWriteTheSameDocumentMultipleTimes
[TEST] [FAILURE] [Android] [1/3 os: ubuntu] [1/4 android_device: emulator_ftl_latest]
(9 failed tests)  FirestoreTest.TestDocumentSnapshotEventsForAdd
  NumericTransformsTest.DoubleIncrementWithExistingString
  NumericTransformsTest.IncrementDeleteIncrementInABatch
  NumericTransformsTest.IncrementTwiceInABatch
  NumericTransformsTest.MergeOnNonExistingDocumentWithIncrement
  ServerTimestampTest.TestServerTimestampsCanRetainPreviousValueThroughConsecutiveUpdates
  ServerTimestampTest.TestServerTimestampsUsesPreviousValueFromLocalMutation
  ServerTimestampTest.TestServerTimestampsWorkViaUpdate
  TaskTest.IsSuccessfulShouldReturnFalseForCanceledTask
[TEST] [FAILURE] [Android] [1/3 os: ubuntu] [2/4 android_device: android_latest emulator_ftl_latest]
(6 failed tests)  FirestoreTest.TestDocumentSnapshotEventsForChange
  FirestoreTest.TestQuerySnapshotEventsForChange
  NumericTransformsTest.IntegerIncrementWithExistingString
  NumericTransformsTest.MultipleDoubleIncrements
  ValidationTest.QueriesCannotBeSortedByAnUncommittedServerTimestamp
  WriteBatchTest.TestWriteTheSameServerTimestampAcrossWrites
[TEST] [FLAKINESS] [Android] [1/3 os: macos] [1/4 android_device: android_target]
(1 failed tests)  AggregateCountTest.TestQueriesCanUseNotInFiltersWithObject
[TEST] [FLAKINESS] [Android] [1/3 os: macos] [1/4 android_device: emulator_ftl_latest]
(2 failed tests)  NumericTransformsTest.CreateDocumentWithIncrement
  SourceTest.GetNonExistingCollectionWhileOnlineWithSourceEqualToServer
[TEST] [FLAKINESS] [Android] [1/3 os: ubuntu] [1/4 android_device: emulator_ftl_target]
(1 failed tests)  CRASH/TIMEOUT
[TEST] [FLAKINESS] [Android] [1/3 os: windows] [1/4 android_device: android_latest]
(1 failed tests)  SmokeTest.TestGetCollectionQuery
[TEST] [FLAKINESS] [Android] [1/3 os: windows] [1/4 android_device: android_target]
(3 failed tests)  NumericTransformsTest.DoubleIncrementWithExistingInteger
  NumericTransformsTest.IntegerIncrementWithExistingDouble
  QueryTest.TestCanListenForTheSameQueryWithDifferentOptions
[TEST] [FLAKINESS] [Android] [1/3 os: windows] [1/4 android_device: emulator_ftl_latest]
(3 failed tests)  FirestoreTest.TestDocumentSnapshotEventsForAdd
  TaskTest.IsCompleteShouldReturnTrueForCanceledTask
  WriteBatchTest.TestWriteTheSameServerTimestampAcrossWrites
[TEST] [FLAKINESS] [Android] [1/3 os: windows] [1/4 android_device: emulator_ftl_target]
(2 failed tests)  FirestoreTest.TestQuerySnapshotEventsForChange
  NumericTransformsTest.IntegerIncrementWithExistingString
[TEST] [FLAKINESS] [Android] [1/3 os: windows] [2/4 android_device: android_target emulator_ftl_target]
(2 failed tests)  ServerTimestampTest.TestServerTimestampsWorkViaSet
  ServerTimestampTest.TestServerTimestampsWorkViaUpdate
[TEST] [FLAKINESS] [Android] [1/3 os: windows] [2/4 android_device: emulator_ftl_latest emulator_ftl_target]
(1 failed tests)  FirestoreTest.TestDocumentSnapshotEventsForChange
remote_config [TEST] [FLAKINESS] [iOS] [macos] [1/2 ios_device: ios_target]
(1 failed tests)  FirebaseRemoteConfigTest.TestAddOnConfigUpdateListener

Add flaky tests to go/fpl-cpp-flake-tracker

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the GoogleTest dependency across various integration test directories and download scripts, pinning it to a specific commit hash (063de7e9578f82b369302001269680b4b1553359) instead of the older release-1.11.0 tag. The feedback suggests a minor code simplification in the Python download script to remove a redundant os.path.join call.

Comment thread testing/test_framework/download_googletest.py Outdated
@AustinBenoit AustinBenoit added tests-requested: full Trigger a FULL set of integration tests (uses expanded test matrix). skip-release-notes Skip release notes check labels Oct 26, 2026
@github-actions github-actions Bot removed the tests-requested: full Trigger a FULL set of integration tests (uses expanded test matrix). label Oct 26, 2026
@AustinBenoit AustinBenoit added tests-requested: full Trigger a FULL set of integration tests (uses expanded test matrix). and removed tests: in-progress This PR's integration tests are in progress. labels Oct 26, 2026
@github-actions github-actions Bot added tests: in-progress This PR's integration tests are in progress. tests: failed This PR's integration tests failed. and removed tests-requested: full Trigger a FULL set of integration tests (uses expanded test matrix). labels Oct 26, 2026
@firebase-workflow-trigger firebase-workflow-trigger Bot removed the tests: in-progress This PR's integration tests are in progress. label Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-release-notes Skip release notes check tests: failed This PR's integration tests failed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants