Skip to content

Commit

Permalink
Add exchange manager test case.
Browse files Browse the repository at this point in the history
  • Loading branch information
yardenc2003 committed Sep 2, 2024
1 parent bf4368e commit a488c31
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
11 changes: 11 additions & 0 deletions test-exchange-manager-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Exchange Manager values to test.
# This is a YAML-formatted file.

exchangeManager:
name: "filesystem"
baseDir: "/tmp/trino-local-file-system-exchange-manager"

additionalExchangeManagerProperties:
- exchange.sink-buffer-pool-min-size=10
- exchange.sink-buffers-per-partition=2
- exchange.source-concurrent-readers=4
3 changes: 2 additions & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ declare -A testCases=(
[complete_values]="--values test-values.yaml"
[overrides]="--set coordinatorNameOverride=coordinator-overridden,workerNameOverride=worker-overridden,nameOverride=overridden"
[access_control_properties_values]="--values test-access-control-properties-values.yaml"
[exchange_manager_values]="--values test_access_exchange_manager_values.yaml
)
function join_by {
Expand All @@ -22,7 +23,7 @@ NAMESPACE=trino-$(LC_ALL=C tr -dc 'a-z0-9' </dev/urandom | head -c 6 || true)
HELM_EXTRA_SET_ARGS=
CT_ARGS=(--charts=charts/trino --skip-clean-up --helm-extra-args="--timeout 2m")
CLEANUP_NAMESPACE=true
TEST_NAMES=(default single_node complete_values access_control_properties_values)
TEST_NAMES=(default single_node complete_values access_control_properties_values exchange_manager_values)
usage() {
cat <<EOF 1>&2
Expand Down

0 comments on commit a488c31

Please sign in to comment.