Set up telemetry test in Compass e2e tests

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: 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
            Reporter:
            Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: