Skip to content

Commit e3625ba

Browse files
committed
debug
1 parent e13376b commit e3625ba

File tree

5 files changed

+12
-9
lines changed

5 files changed

+12
-9
lines changed

.circleci/config.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,8 @@ jobs:
308308
description: Number of threads to run tests
309309
type: integer
310310
default: 1
311-
parallelism: << parameters.parallelism >>
311+
# parallelism: << parameters.parallelism >>
312+
parallelism: 1
312313
steps:
313314
- checkout
314315
- attach_workspace:
@@ -346,7 +347,8 @@ jobs:
346347
description: Number of threads to run tests
347348
type: integer
348349
default: 1
349-
parallelism: << parameters.parallelism >>
350+
# parallelism: << parameters.parallelism >>
351+
parallelism: 1
350352
steps:
351353
- checkout
352354
- attach_workspace:
@@ -389,7 +391,8 @@ jobs:
389391
description: Number of threads to run tests
390392
type: integer
391393
default: 1
392-
parallelism: << parameters.parallelism >>
394+
# parallelism: << parameters.parallelism >>
395+
parallelism: 1
393396
steps:
394397
- checkout
395398
- when:
@@ -1085,7 +1088,7 @@ workflows:
10851088
- e2e-tests:
10861089
name: E2ETest
10871090
build: docker
1088-
parallelism: 4
1091+
parallelism: 1
10891092
requires:
10901093
- Build docker image
10911094

@@ -1247,7 +1250,7 @@ workflows:
12471250
# e2e web tests on docker image build
12481251
- e2e-tests:
12491252
name: E2ETest - Nightly
1250-
parallelism: 4
1253+
parallelism: 1
12511254
build: docker
12521255
report: true
12531256
requires:

tests/e2e/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"redis:last": "docker run --name redis-last-version -p 7777:6379 -d redislabs/redismod",
1414
"start:app": "cross-env SERVER_STATIC_CONTENT=true yarn start:api",
1515
"test:chrome": "testcafe --cache --concurrency 1 chrome tests/ -r html:./report/report.html,spec -e -s takeOnFails=true,path=report/screenshots,pathPattern=${OS}_${BROWSER}/${DATE}_${TIME}/${FIXTURE}_${TEST}_${FILE_INDEX}.png",
16-
"test:chrome:ci": "ts-node ./web.runner.ts",
16+
"test:chrome:ci": "ts-node ./web.runner.ts -q attemptLimit=1,successThreshold=1",
1717
"test": "yarn test:chrome",
1818
"lint": "eslint . --ext .ts,.js,.tsx,.jsx",
1919
"test:desktop:ci": "ts-node ./desktop.runner.ts",

tests/e2e/tests/critical-path/database/modules.e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ fixture `Database modules`
2626
// Delete database
2727
await deleteStandaloneDatabaseApi(ossStandaloneRedisearch);
2828
});
29-
test
29+
test.only
3030
.meta({ rte: rte.standalone, env: env.web })('Verify that user can see DB modules on DB list page for Standalone DB', async t => {
3131
// Check module column on DB list page
3232
await t.expect(myRedisDatabasePage.moduleColumn.exists).ok('Module column not found');

tests/e2e/wait-for-it.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ wait_for()
4444
echoerr "$WAITFORIT_cmdname: $WAITFORIT_HOST:$WAITFORIT_PORT is available after $((WAITFORIT_end_ts - WAITFORIT_start_ts)) seconds"
4545
break
4646
fi
47-
sleep 25
47+
sleep 30
4848
done
4949
return $WAITFORIT_result
5050
}

tests/e2e/web.runner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ import testcafe from 'testcafe';
3636
selectorTimeout: 5000,
3737
assertionTimeout: 5000,
3838
speed: 1,
39-
quarantineMode: { successThreshold: '1', attemptLimit: '3' }
39+
quarantineMode: { successThreshold: '1', attemptLimit: '1' }
4040
});
4141
})
4242
.then((failedCount) => {

0 commit comments

Comments
 (0)