Skip to content

Commit

Permalink
[Security Solution]Fix basepath used by endpoint telemetry tests (#79027
Browse files Browse the repository at this point in the history
) (#79149)

* Fix basepath used by endpoint telemetry tests

* Linting
  • Loading branch information
achuguy authored Oct 1, 2020
1 parent 45c215d commit 6e49c40
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,14 @@
*/
import fs from 'fs';
import Path from 'path';
import { KIBANA_ROOT } from '@kbn/test';
import { FtrProviderContext } from '../ftr_provider_context';

const TELEMETRY_API_ROOT = '/api/stats?extended=true';
const TELEMETRY_DATA_ROOT = 'test/functional/es_archives/endpoint/telemetry/';
const TELEMETRY_DATA_ROOT = Path.join(
KIBANA_ROOT,
'x-pack/test/functional/es_archives/endpoint/telemetry/'
);

interface EndpointTelemetry {
total_installed: number;
Expand Down

0 comments on commit 6e49c40

Please sign in to comment.