Skip to content

Commit fd06d9d

Browse files
John Dorluselasticmachine
andauthored
Fixed issue where promise chain was broken. (#70004) (#70093)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
1 parent f9acad9 commit fd06d9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x-pack/test/functional/apps/rollup_job/rollup_jobs.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ export default function ({ getService, getPageObjects }) {
3131
it('create new rollup job', async () => {
3232
const interval = '1000ms';
3333

34-
pastDates.map(async (day) => {
34+
for (const day of pastDates) {
3535
await es.index(mockIndices(day, rollupSourceDataPrepend));
36-
});
36+
}
3737

3838
await PageObjects.common.navigateToApp('rollupJob');
3939
await PageObjects.rollup.createNewRollUpJob(

0 commit comments

Comments
 (0)