remove now redundant timer in test

This commit is contained in:
Joe Fleming 2015-11-04 15:23:49 -07:00
parent 01d6e972fe
commit ef29fcc41f

View file

@ -92,11 +92,9 @@ define(function (require) {
});
bdd.it('should remove index pattern from url', function indexNotInUrl() {
return common.tryForTime(3000, function () {
return remote.getCurrentUrl()
.then(function (currentUrl) {
expect(currentUrl).to.not.contain('logstash-*');
});
return remote.getCurrentUrl()
.then(function (currentUrl) {
expect(currentUrl).to.not.contain('logstash-*');
})
.catch(common.handleError(this));
});