Skip to content

Commit

Permalink
setting registry to localhost to prevent synthetics from installing
Browse files Browse the repository at this point in the history
  • Loading branch information
juliaElastic committed Nov 22, 2022
1 parent 99f5a61 commit 1fa218b
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ describe('fleet usage telemetry', () => {
let core: any;
let esServer: kbnTestServer.TestElasticsearchUtils;
let kbnServer: kbnTestServer.TestKibanaUtils;
const registryUrl = 'http://localhost';

const startServers = async () => {
const { startES } = kbnTestServer.createTestServers({
Expand All @@ -37,6 +38,7 @@ describe('fleet usage telemetry', () => {
{
xpack: {
fleet: {
registryUrl,
agentPolicies: [
{
name: 'Second preconfigured policy',
Expand Down Expand Up @@ -229,11 +231,7 @@ describe('fleet usage telemetry', () => {
updating: 0,
num_host_urls: 0,
},
packages: [
expect.objectContaining({
name: 'synthetics',
}),
],
packages: [],
agent_versions: ['8.5.1', '8.6.0'],
agent_checkin_status: { error: 1, degraded: 1 },
agents_per_policy: [2],
Expand Down

0 comments on commit 1fa218b

Please sign in to comment.