pjain1 opened a new issue #9802:
URL: https://github.com/apache/druid/issues/9802
I am trying to run e2e tests locally on the latest master branch with druid
processes running at standard ports without any security enabled. I can access
the console at localhost:8888. However, when I run `jest --config
jest.e2e.config.js --detectOpenHandles e2e-tests`, I get the following error -
```
node_modules/.bin/jest --config jest.e2e.config.js --detectOpenHandles
e2e-tests
FAIL e2e-tests/tutorial-batch.spec.ts (32.427s)
Tutorial: Loading a file
✕ Loads data from local disk (31378ms)
● Tutorial: Loading a file › Loads data from local disk
TimeoutError: waiting for selector ".raw-lines" failed: timeout 30000ms
exceeded
66 | private async validateConnect(validator: (preview: string) =>
void) {
67 | const previewSelector = '.raw-lines';
> 68 | await this.page.waitFor(previewSelector);
| ^
69 | const preview = await this.page.$eval(previewSelector, el =>
(el as HTMLTextAreaElement).value);
70 | validator(preview!);
71 | }
at new RerunnableTask
(node_modules/playwright-core/lib/frames.js:822:34)
at Frame._scheduleRerunnableTask
(node_modules/playwright-core/lib/frames.js:770:32)
at Frame._waitForSelectorInUtilityContext
(node_modules/playwright-core/lib/frames.js:741:35)
at Frame.waitForSelector
(node_modules/playwright-core/lib/frames.js:485:35)
at Frame.<anonymous> (node_modules/playwright-core/lib/helper.js:55:31)
at Frame.waitFor (node_modules/playwright-core/lib/frames.js:710:25)
at Frame.<anonymous> (node_modules/playwright-core/lib/helper.js:55:31)
at Page.waitFor (node_modules/playwright-core/lib/page.js:383:33)
at Page.<anonymous> (node_modules/playwright-core/lib/helper.js:55:31)
at DataLoader.<anonymous>
(e2e-tests/component/load-data/data-loader.ts:68:21)
at step (node_modules/tslib/tslib.js:136:27)
at Object.next (node_modules/tslib/tslib.js:117:57)
at node_modules/tslib/tslib.js:110:75
at Object.__awaiter (node_modules/tslib/tslib.js:106:16)
at DataLoader.Object.<anonymous>.DataLoader.validateConnect
(e2e-tests/component/load-data/data-loader.ts:111:24)
at DataLoader.<anonymous>
(e2e-tests/component/load-data/data-loader.ts:62:16)
at step (node_modules/tslib/tslib.js:136:27)
at Object.next (node_modules/tslib/tslib.js:117:57)
at fulfilled (node_modules/tslib/tslib.js:107:62)
Test Suites: 1 failed, 1 total
Tests: 1 failed, 1 total
Snapshots: 0 total
Time: 32.98s, estimated 33s
Ran all test suites matching /e2e-tests/i.
```
What might be the issue ?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]