Skip to content

Commit 970f6dc

Browse files
author
Artem
committed
share tmp folder across docker containers. fix test condition gt -> lt
1 parent 45b31b5 commit 970f6dc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

tests/e2e/docker.web.docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ services:
1111
- ./report:/usr/src/app/report
1212
- ./plugins:/usr/src/app/plugins
1313
- .redisinsight-v2:/root/.redisinsight-v2
14+
- .ritmp:/tmp
1415
env_file:
1516
- ./.env
1617
entrypoint: [
@@ -38,4 +39,5 @@ services:
3839
- ./.env
3940
volumes:
4041
- .redisinsight-v2:/root/.redisinsight-v2
42+
- .ritmp:/tmp
4143

tests/e2e/tests/critical-path/monitor/save-commands.e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ test.only
8787
await monitorPage.checkCommandInMonitorResults(cli_command);
8888
//Verify that temporary Log file Created
8989
await t.wait(5000);
90-
await t.expect(numberOfTempFiles).gt(fs.readdirSync(tempDir).length, 'The temporary Log file is created');
90+
await t.expect(numberOfTempFiles).lt(fs.readdirSync(tempDir).length, 'The temporary Log file is created');
9191
});
9292
test
9393
.meta({ rte: rte.standalone })('Verify that when user switch toggle to OFF and started the Profiler, temporary Log file is not Created and recording', async t => {

0 commit comments

Comments
 (0)