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

Set up telemetry test in Compass e2e tests

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.29.4
    • Affects Version/s: None
    • Component/s: None
    • None
    • 3
    • Iteration Novokuybyshevsk
    • Not Needed

      We base the testing of this functionality off the existing logging end-to-end tests and the existing Analytics integration tests in mongosh. Specifically, we set up a local HTTP server and inject its address, together with a fake API key, into the tested Compass process using environment variables. We then verify that for the critical path that the Compass logging end-to-end test covers, the telemetry events are emitted as expected.

            Assignee:
            anna.henningsen@mongodb.com Anna Henningsen
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: