Skip to content

Commit 49790a5

Browse files
committed
Remove old SHM files left from the previous runs, because of crashes
Remove old SHM files /tmp/umf_file_provider_* (at the beginning of the test) left from the previous runs, because of crashes of the ipc_file_prov test. Signed-off-by: Lukasz Dorau <[email protected]>
1 parent 1c7bc25 commit 49790a5

File tree

4 files changed

+18
-29
lines changed

4 files changed

+18
-29
lines changed

.github/workflows/benchmarks.yml

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,10 @@
11
name: Compute Benchmarks
22

33
on:
4-
workflow_dispatch:
5-
inputs:
6-
pr_no:
7-
description: PR number (if 0, it'll run on the main)
8-
type: number
9-
bench_script_params:
10-
description: Parameters passed to script executing benchmark
11-
type: string
12-
required: false
13-
default: ''
14-
upload_report:
15-
description: 'Upload HTML report'
16-
type: boolean
17-
required: false
18-
default: false
4+
push:
5+
branches-ignore:
6+
- 'dependabot/**'
7+
pull_request:
198

209
permissions:
2110
contents: read

.github/workflows/coverity.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,10 @@
22
name: Coverity
33

44
on:
5-
workflow_dispatch:
6-
inputs:
7-
cov_push_tarball:
8-
description: 'Send Coverity tarball'
9-
required: true
10-
default: 'true'
11-
type: boolean
12-
schedule:
13-
- cron: '0 0 * * *'
5+
push:
6+
branches-ignore:
7+
- 'dependabot/**'
8+
pull_request:
149

1510
permissions:
1611
contents: read

.github/workflows/nightly.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Various non-standard tests, requiring e.g. longer run
22
name: Nightly
33

4-
# This job is run at 04:00 UTC every day or on demand.
54
on:
6-
workflow_dispatch:
7-
schedule:
8-
- cron: '0 4 * * *'
5+
push:
6+
branches-ignore:
7+
- 'dependabot/**'
8+
pull_request:
99

1010
permissions:
1111
contents: read

test/ipc_file_prov.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@
99

1010
set -e
1111

12-
FILE_NAME="/tmp/umf_file_provider_$$"
12+
FILE_BASE="/tmp/umf_file_provider"
13+
14+
# remove old SHM files (left from the previous runs, because of crashes)
15+
rm -f ${FILE_BASE}*
16+
17+
FILE_NAME="${FILE_BASE}_$$"
1318

1419
# port should be a number from the range <1024, 65535>
1520
PORT=$(( 1024 + ( $$ % ( 65535 - 1024 ))))

0 commit comments

Comments
 (0)