mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
debugging ci test failures
DEBUGGING; why is index creation failing on CI? debugging debugging bump timeout. i'm out of ideas. ugh.
This commit is contained in:
parent
299e6631a4
commit
b5db8010d4
3 changed files with 35 additions and 3 deletions
|
@ -43,7 +43,7 @@ define(function (require) {
|
|||
});
|
||||
});
|
||||
|
||||
bdd.it('should be enable creation after selecting time field', function () {
|
||||
bdd.it('should enable creation after selecting time field', function () {
|
||||
// select a time field and check that Create button is enabled
|
||||
return settingsPage.selectTimeFieldOption('@timestamp')
|
||||
.then(function () {
|
||||
|
|
|
@ -3,7 +3,7 @@ define(function (require) {
|
|||
var _ = require('intern/dojo/node!lodash');
|
||||
|
||||
return _.assign({
|
||||
debug: false,
|
||||
debug: true,
|
||||
capabilities: {
|
||||
'selenium-version': '2.47.1',
|
||||
'idle-timeout': 30
|
||||
|
|
|
@ -6,7 +6,7 @@ define(function (require) {
|
|||
|
||||
var Common = require('./Common');
|
||||
|
||||
var defaultTimeout = 5000;
|
||||
var defaultTimeout = 6000;
|
||||
var common;
|
||||
|
||||
function SettingsPage(remote) {
|
||||
|
@ -52,6 +52,22 @@ define(function (require) {
|
|||
})
|
||||
.then(function () {
|
||||
return self.getTimeFieldOption(selection);
|
||||
})
|
||||
// DEBUGGING
|
||||
.catch(function (err) {
|
||||
common.debug('FAILED to creat index patter');
|
||||
return common.checkForKibanaApp()
|
||||
.then(function (onKibana) {
|
||||
common.debug('onKibana')
|
||||
common.debug(onKibana)
|
||||
})
|
||||
.then(function () {
|
||||
return self.remote.getCurrentUrl();
|
||||
})
|
||||
.then(function (url) {
|
||||
common.debug('FAILED on url ' + url);
|
||||
throw err
|
||||
})
|
||||
});
|
||||
},
|
||||
|
||||
|
@ -251,6 +267,22 @@ define(function (require) {
|
|||
}
|
||||
});
|
||||
});
|
||||
})
|
||||
// DEBUGGING
|
||||
.catch(function (err) {
|
||||
common.debug('FAILED to create index pattern');
|
||||
return common.checkForKibanaApp()
|
||||
.then(function (onKibana) {
|
||||
common.debug('onKibana')
|
||||
common.debug(onKibana)
|
||||
})
|
||||
.then(function () {
|
||||
return self.remote.getCurrentUrl();
|
||||
})
|
||||
.then(function (url) {
|
||||
common.debug('FAILED on url ' + url);
|
||||
throw err
|
||||
})
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue