[Synthetics] unskip flaky test (#147859)

## Summary

Resolves https://github.com/elastic/kibana/issues/146014

Unskip flaky test.
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/1664
This commit is contained in:
Dominique Clarke 2022-12-21 10:28:00 -05:00 committed by GitHub
parent b184f0615e
commit b3d7ecb68d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 8 deletions

View file

@ -17,8 +17,7 @@ import { FtrProviderContext } from '../../ftr_provider_context';
import { getFixtureJson } from '../uptime/rest/helper/get_fixture_json'; import { getFixtureJson } from '../uptime/rest/helper/get_fixture_json';
export default function ({ getService }: FtrProviderContext) { export default function ({ getService }: FtrProviderContext) {
// Failing: See https://github.com/elastic/kibana/issues/146014 describe('GetMonitorsOverview', function () {
describe.skip('GetMonitorsOverview', function () {
this.tags('skipCloud'); this.tags('skipCloud');
const supertest = getService('supertest'); const supertest = getService('supertest');
@ -170,9 +169,9 @@ export default function ({ getService }: FtrProviderContext) {
); );
savedMonitors = savedResponse; savedMonitors = savedResponse;
const apiResponse = await supertest.get( const apiResponse = await supertest
`/s/${SPACE_ID}${SYNTHETICS_API_URLS.SYNTHETICS_OVERVIEW}` .get(`/s/${SPACE_ID}${SYNTHETICS_API_URLS.SYNTHETICS_OVERVIEW}`)
); .query({ sortField: 'status' });
expect(apiResponse.body.monitors).eql([ expect(apiResponse.body.monitors).eql([
{ {
id: savedMonitors[0].attributes[ConfigKey.MONITOR_QUERY_ID], id: savedMonitors[0].attributes[ConfigKey.MONITOR_QUERY_ID],
@ -180,7 +179,7 @@ export default function ({ getService }: FtrProviderContext) {
name: 'test monitor a', name: 'test monitor a',
location: { location: {
id: 'eu-west-01', id: 'eu-west-01',
label: 'Europe West', label: 'Europe East',
geo: { geo: {
lat: 33.2343132435, lat: 33.2343132435,
lon: 73.2342343434, lon: 73.2342343434,
@ -212,7 +211,7 @@ export default function ({ getService }: FtrProviderContext) {
name: 'test monitor b', name: 'test monitor b',
location: { location: {
id: 'eu-west-01', id: 'eu-west-01',
label: 'Europe West', label: 'Europe East',
geo: { geo: {
lat: 33.2343132435, lat: 33.2343132435,
lon: 73.2342343434, lon: 73.2342343434,

View file

@ -56,7 +56,7 @@
"locations": [ "locations": [
{ {
"id": "eu-west-01", "id": "eu-west-01",
"label": "Europe West", "label": "Europe East",
"geo": { "geo": {
"lat": 33.2343132435, "lat": 33.2343132435,
"lon": 73.2342343434 "lon": 73.2342343434