Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repo-relative imports for Database #5861

Merged
merged 4 commits into from
Jun 22, 2020
Merged

Repo-relative imports for Database #5861

merged 4 commits into from
Jun 22, 2020

Conversation

paulb777
Copy link
Member

@paulb777 paulb777 commented Jun 19, 2020

  • Run ./scripts/change_headers.swift to update all Database library and tests to be repo-relative
  • levelDB headers and SwiftPM are pending Swift Package Manager support for leveldb
  • Only run integration tests on iOS to avoid flakiness

#no-changelog - Will be part of a global M74 changelog

steps:
- uses: actions/checkout@v2
- name: Setup Bundler
run: scripts/setup_bundler.sh
- name: IntegrationTest
run: scripts/third_party/travis/retry.sh scripts/build.sh Database ${{ matrix.target }} integration
# Only iOS to mitigate flakes.
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder may the flakes occur due to concurrent tests execution (modifying the same database keys from tests fro different platforms simultaneously)? If so, we probably can fix it by modifying the tests, but it's probably out of scope of the PR.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yep, I wondered the same thing - but we've also disabled other tests in this suite because of flakiness from a single run.

In any case until we invest in improving the robustness of these tests, its not worth the cost of running the integration tests for non-iOS platforms.

Base automatically changed from pb-db-canon to master June 22, 2020 14:26
@paulb777 paulb777 merged commit 7cb6f96 into master Jun 22, 2020
@paulb777 paulb777 deleted the pb-db-rr branch June 22, 2020 14:58
granluo pushed a commit that referenced this pull request Jul 7, 2020
@firebase firebase locked and limited conversation to collaborators Jul 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants