mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Fix one recurring timing related test failure by wrapping in tryForTime loop ('makelogs data should have expected number of fields').
This commit is contained in:
parent
2488a626e2
commit
e5d57f42a3
1 changed files with 5 additions and 3 deletions
|
@ -93,9 +93,11 @@ define(function (require) {
|
|||
});
|
||||
|
||||
bdd.it('makelogs data should have expected number of fields', function () {
|
||||
return settingsPage.getFieldsTabCount()
|
||||
.then(function (tabCount) {
|
||||
expect(tabCount).to.be('' + expectedFieldCount);
|
||||
return common.tryForTime(5000, function () {
|
||||
return settingsPage.getFieldsTabCount()
|
||||
.then(function (tabCount) {
|
||||
expect(tabCount).to.be('' + expectedFieldCount);
|
||||
});
|
||||
})
|
||||
.catch(common.handleError(this));
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue