Integration tests: add IPC_LOCK and SYS_NICE caps

It is needed to make integration tests work with a installed binary (/usr/bin/clickhouse) mounted in.
Otherwise the binary mounted in have the capability, while the container is not allowing that
and you get cryptic message:
standard_init_linux.go:211: exec user process caused "operation not permitted"
This commit is contained in:
Mikhail Filimonov 2021-02-23 11:18:24 +01:00
parent 63173eebdb
commit 32fa3dbc99
No known key found for this signature in database
GPG Key ID: 6E49C2E9AF1220BE

View File

@ -868,6 +868,8 @@ services:
cap_add:
- SYS_PTRACE
- NET_ADMIN
- IPC_LOCK
- SYS_NICE
depends_on: {depends_on}
user: '{user}'
env_file: