Skip to content

Commit ef8d489

Browse files
committed
Run test utility containers with tini
This should help speed up test teardown, since they handle SIGTERM instead of having to wait for the container shutdown to timeout.
1 parent 021d14a commit ef8d489

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)