@elaraai/e3-api-tests 0.0.2-beta.49 → 0.0.2-beta.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -101,7 +101,7 @@ export function dataflowTests(setup) {
|
|
|
101
101
|
// Should return immediately
|
|
102
102
|
await dataflowStart(ctx.config.baseUrl, ctx.repoName, 'exec-ws', { force: true }, opts);
|
|
103
103
|
// Poll until execution completes
|
|
104
|
-
const maxWait =
|
|
104
|
+
const maxWait = 60000;
|
|
105
105
|
const startTime = Date.now();
|
|
106
106
|
let status = await workspaceStatus(ctx.config.baseUrl, ctx.repoName, 'exec-ws', opts);
|
|
107
107
|
while (Date.now() - startTime < maxWait) {
|
|
@@ -122,7 +122,7 @@ export function dataflowTests(setup) {
|
|
|
122
122
|
// Start execution
|
|
123
123
|
await dataflowStart(ctx.config.baseUrl, ctx.repoName, 'exec-ws', { force: true }, opts);
|
|
124
124
|
// Poll execution state until complete
|
|
125
|
-
const maxWait =
|
|
125
|
+
const maxWait = 60000;
|
|
126
126
|
const startTime = Date.now();
|
|
127
127
|
while (Date.now() - startTime < maxWait) {
|
|
128
128
|
const state = await dataflowExecution(ctx.config.baseUrl, ctx.repoName, 'exec-ws', {}, opts);
|
|
@@ -179,7 +179,7 @@ export function dataflowTests(setup) {
|
|
|
179
179
|
await dataflowStart(ctx.config.baseUrl, ctx.repoName, 'diamond-ws', { force: true }, opts);
|
|
180
180
|
// Poll and collect events
|
|
181
181
|
const events = [];
|
|
182
|
-
const maxWait =
|
|
182
|
+
const maxWait = 60000;
|
|
183
183
|
const startTime = Date.now();
|
|
184
184
|
while (Date.now() - startTime < maxWait) {
|
|
185
185
|
const state = await dataflowExecution(ctx.config.baseUrl, ctx.repoName, 'diamond-ws', { offset: events.length }, opts);
|
|
@@ -216,7 +216,7 @@ export function dataflowTests(setup) {
|
|
|
216
216
|
// Start execution
|
|
217
217
|
await dataflowStart(ctx.config.baseUrl, ctx.repoName, 'fail-ws', { force: true }, opts);
|
|
218
218
|
// Poll until execution completes
|
|
219
|
-
const maxWait =
|
|
219
|
+
const maxWait = 60000;
|
|
220
220
|
const startTime = Date.now();
|
|
221
221
|
while (Date.now() - startTime < maxWait) {
|
|
222
222
|
const state = await dataflowExecution(ctx.config.baseUrl, ctx.repoName, 'fail-ws', {}, opts);
|
package/package.json
CHANGED