Skip to content

Commit

Permalink
Increase timeout for pip installation in test (#535)
Browse files Browse the repository at this point in the history
# Description

Seems like something around here causes the failures. See https://ci.stackable.tech/job/zookeeper-operator-it-nightly/41/consoleFull


Jenkins run: https://ci.stackable.tech/view/02%20Operator%20Tests%20(custom)/job/zookeeper-operator-it-custom/11/console



Co-authored-by: Andrew Kenworthy <andrew.kenworthy@stackable.de>
  • Loading branch information
sbernauer and adwk67 committed Aug 16, 2022
1 parent caed155 commit e53d77a
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ All notable changes to this project will be documented in this file.
- Operator-rs: 0.21.1 -> 0.22.0 ([#516]).
- Include chart name when installing with a custom release name ([#517], [#518]).
- Fixed bug where client TLS could not be disabled ([#529]).
- Replaced python image with testing-tools image for integration tests ([#535]).

[#516]: https://github.com/stackabletech/zookeeper-operator/pull/516
[#517]: https://github.com/stackabletech/zookeeper-operator/pull/517
[#518]: https://github.com/stackabletech/zookeeper-operator/pull/518
[#529]: https://github.com/stackabletech/zookeeper-operator/pull/529
[#535]: https://github.com/stackabletech/zookeeper-operator/pull/535

## [0.10.0] - 2022-06-23

Expand Down
2 changes: 1 addition & 1 deletion tests/templates/kuttl/smoke/01-install-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ spec:
spec:
containers:
- name: zk-test-helper
image: python:3.10-slim
image: docker.stackable.tech/stackable/testing-tools:0.1.0-stackable0.1.0
stdin: true
tty: true
2 changes: 1 addition & 1 deletion tests/templates/kuttl/smoke/02-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ kind: TestAssert
metadata:
name: test-regorule
commands:
- script: kubectl exec -n $NAMESPACE zk-test-helper-0 -- bash -c "source /tmp/venv/bin/activate && python /tmp/test_zookeeper.py -n $NAMESPACE"
- script: kubectl exec -n $NAMESPACE zk-test-helper-0 -- python /tmp/test_zookeeper.py -n $NAMESPACE
- script: kubectl exec -n $NAMESPACE test-zk-server-primary-0 -- /tmp/test_tls.sh $NAMESPACE
- script: kubectl exec -n $NAMESPACE test-zk-server-primary-0 -- /tmp/test_heap.sh
3 changes: 0 additions & 3 deletions tests/templates/kuttl/smoke/02-prepare-test-zookeeper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,5 @@ apiVersion: kuttl.dev/v1beta1
kind: TestStep
commands:
- script: kubectl cp -n $NAMESPACE ./test_zookeeper.py zk-test-helper-0:/tmp
- script: kubectl cp -n $NAMESPACE ./requirements.txt zk-test-helper-0:/tmp
- script: kubectl exec -n $NAMESPACE zk-test-helper-0 -- python -m venv /tmp/venv
- script: kubectl exec -n $NAMESPACE zk-test-helper-0 -- bash -c 'source /tmp/venv/bin/activate && pip install -q -r /tmp/requirements.txt'
- script: kubectl cp -n $NAMESPACE ./test_tls.sh test-zk-server-primary-0:/tmp
- script: kubectl cp -n $NAMESPACE ./test_heap.sh test-zk-server-primary-0:/tmp
1 change: 0 additions & 1 deletion tests/templates/kuttl/smoke/requirements.txt

This file was deleted.

0 comments on commit e53d77a

Please sign in to comment.