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:
Joe Fleming 2015-11-06 14:45:38 -07:00
parent 4f7ef774d1
commit 2632c7479c
3 changed files with 35 additions and 3 deletions

View file

@ -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 // select a time field and check that Create button is enabled
return settingsPage.selectTimeFieldOption('@timestamp') return settingsPage.selectTimeFieldOption('@timestamp')
.then(function () { .then(function () {

View file

@ -3,7 +3,7 @@ define(function (require) {
var _ = require('intern/dojo/node!lodash'); var _ = require('intern/dojo/node!lodash');
return _.assign({ return _.assign({
debug: false, debug: true,
capabilities: { capabilities: {
'selenium-version': '2.47.1', 'selenium-version': '2.47.1',
'idle-timeout': 30 'idle-timeout': 30

View file

@ -6,7 +6,7 @@ define(function (require) {
var Common = require('./Common'); var Common = require('./Common');
var defaultTimeout = 5000; var defaultTimeout = 6000;
var common; var common;
function SettingsPage(remote) { function SettingsPage(remote) {
@ -52,6 +52,22 @@ define(function (require) {
}) })
.then(function () { .then(function () {
return self.getTimeFieldOption(selection); 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
})
}); });
}, },