Skip to content

Commit 5e6e339

Browse files
authored
Run test utility containers with tini (#633)
This should help speed up test teardown, since they handle SIGTERM instead of having to wait for the container shutdown to timeout.
1 parent a7f2cf5 commit 5e6e339

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tests/templates/kuttl/logging/06-install-hdfs-test-runner.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ spec:
1515
labels:
1616
app: hdfs-test-runner
1717
spec:
18+
shareProcessNamespace: true
1819
containers:
1920
- name: hdfs-test-runner
2021
image: docker.stackable.tech/stackable/testing-tools:0.2.0-stackable0.0.0-dev
22+
args: [sleep, infinity]
2123
stdin: true
2224
tty: true

tests/templates/kuttl/smoke/40-webhdfs.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ spec:
1515
labels:
1616
app: webhdfs
1717
spec:
18+
shareProcessNamespace: true
1819
containers:
1920
- name: webhdfs
2021
image: docker.stackable.tech/stackable/testing-tools:0.2.0-stackable0.0.0-dev
22+
args: [sleep, infinity]
2123
stdin: true
2224
tty: true
2325
resources:

0 commit comments

Comments
 (0)