File tree Expand file tree Collapse file tree 2 files changed +0
-7
lines changed
src/plugins/data/common/index_patterns/index_patterns
test/plugin_functional/test_suites/data_plugin Expand file tree Collapse file tree 2 files changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,6 @@ export class IndexPatternsService {
103103 fields : [ 'title' ] ,
104104 perPage : 10000 ,
105105 } ) ;
106- console . log ( 'refreshSavedObjectsCache' , so ) ;
107106 this . savedObjectsCache = so ;
108107 }
109108
@@ -112,7 +111,6 @@ export class IndexPatternsService {
112111 * @param refresh Force refresh of index pattern list
113112 */
114113 getIds = async ( refresh : boolean = false ) => {
115- console . log ( 'getIds' ) ;
116114 if ( ! this . savedObjectsCache || refresh ) {
117115 await this . refreshSavedObjectsCache ( ) ;
118116 }
Original file line number Diff line number Diff line change @@ -42,11 +42,6 @@ export default function ({ getService }: PluginFunctionalProviderContext) {
4242 expect ( body . title ) . to . equal ( title ) ;
4343 expect ( body . fields . length ) . to . equal ( 15 ) ;
4444 expect ( body . fieldFormatMap ) . to . eql ( fieldFormats ) ;
45-
46- await new Promise ( ( resolve ) => setTimeout ( resolve , 1000 * 5 ) ) ;
47- const response = await supertest . get ( '/api/index-patterns-plugin/get-all' ) ;
48- expect ( response . status ) . to . equal ( 200 ) ;
49- expect ( response . body . length > 0 ) . to . equal ( true ) ;
5045 } ) ;
5146
5247 it ( 'can get index pattern by id' , async ( ) => {
You can’t perform that action at this time.
0 commit comments