Skip to content

Commit

Permalink
Run test utility containers with tini
Browse files Browse the repository at this point in the history
This should help speed up test teardown, since they handle SIGTERM
instead of having to wait for the container shutdown to timeout.
  • Loading branch information
nightkr committed Dec 17, 2024
1 parent 021d14a commit ef8d489
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ spec:
labels:
app: hdfs-test-runner
spec:
shareProcessNamespace: true
containers:
- name: hdfs-test-runner
image: docker.stackable.tech/stackable/testing-tools:0.2.0-stackable0.0.0-dev
args: [sleep, infinity]
stdin: true
tty: true
2 changes: 2 additions & 0 deletions tests/templates/kuttl/smoke/40-webhdfs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ spec:
labels:
app: webhdfs
spec:
shareProcessNamespace: true
containers:
- name: webhdfs
image: docker.stackable.tech/stackable/testing-tools:0.2.0-stackable0.0.0-dev
args: [sleep, infinity]
stdin: true
tty: true
resources:
Expand Down

0 comments on commit ef8d489

Please sign in to comment.