Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-5911

Saved connections are not being displayed after disconnect on Linux CI

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: CI, Tech debt
    • None
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • Not Needed

      Problem Statement/Rationale

      What is going wrong? What action would you like the Engineering team to take?
      Saved connections (recent and favorites) are not being displayed on Linux CI on Evergreen (work locally tho and on other platforms).

      Steps to Reproduce

      How could an engineer replicate the issue you’re reporting?
      In the `in-use-encryption.test.ts` test suite enable the `does not store KMS settings if the checkbox is not set` test for Linux.

      https://github.com/mongodb-js/compass/blob/COMPASS-5890-e2e-kms-checkbox/packages/compass-e2e-tests/tests/in-use-encryption.test.ts

      Expected Results

      What do you expect to happen?
      E2e tests succeed for Linux.

      Actual Results

      What do you observe is happening?
      E2e tests fail for Linux to display favorites (tried also with recents).

      Additional Notes

      Any additional information that may be useful to include.

      Might be caused by the libraries we use for Linux e.g. gnome-keyring:
      https://github.com/mongodb-js/compass/blob/1.29-releases/.github/workflows/check-test.yaml#L34

      The readSavedConnectionsFolder function in the test suite verifies that connections are actually stored to disc. Maybe storage-mixing on Linux CI returns the empty folder as a result before files are actually being stored and does not re-render UI when the data comes.

            Assignee:
            Unassigned Unassigned
            Reporter:
            alena.khineika@mongodb.com Alena Khineika
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: