From 754a426deadcae40343fc4d086fbaf85a1f3a92c Mon Sep 17 00:00:00 2001 From: sinadarbouy Date: Sat, 27 Jul 2024 19:40:03 +0200 Subject: [PATCH] added required parameters to test data --- cmd/testdata/gatewayd.yaml | 25 +++++++++++++++++++++++++ cmd/testdata/gatewayd_tls.yaml | 21 ++++++++++++++++++--- 2 files changed, 43 insertions(+), 3 deletions(-) diff --git a/cmd/testdata/gatewayd.yaml b/cmd/testdata/gatewayd.yaml index c8d4a8b2..cbabf782 100644 --- a/cmd/testdata/gatewayd.yaml +++ b/cmd/testdata/gatewayd.yaml @@ -20,9 +20,34 @@ clients: default: active-writes: address: localhost:5432 + network: tcp + tcpKeepAlive: False + tcpKeepAlivePeriod: 30s # duration + receiveChunkSize: 8192 + receiveDeadline: 0s # duration, 0ms/0s means no deadline + receiveTimeout: 0s # duration, 0ms/0s means no timeout + sendDeadline: 0s # duration, 0ms/0s means no deadline + dialTimeout: 60s # duration + # Retry configuration + retries: 3 # 0 means no retry and fail immediately on the first attempt + backoff: 1s # duration + backoffMultiplier: 2.0 # 0 means no backoff + disableBackoffCaps: false test: write: address: localhost:5433 + network: tcp + tcpKeepAlive: False + tcpKeepAlivePeriod: 30s # duration + receiveChunkSize: 8192 + receiveDeadline: 0s # duration, 0ms/0s means no deadline + receiveTimeout: 0s # duration, 0ms/0s means no timeout + sendDeadline: 0s # duration, 0ms/0s means no deadline + dialTimeout: 60s # duration + retries: 3 # 0 means no retry and fail immediately on the first attempt + backoff: 1s # duration + backoffMultiplier: 2.0 # 0 means no backoff + disableBackoffCaps: false pools: default: diff --git a/cmd/testdata/gatewayd_tls.yaml b/cmd/testdata/gatewayd_tls.yaml index 75f584bc..7547a22e 100644 --- a/cmd/testdata/gatewayd_tls.yaml +++ b/cmd/testdata/gatewayd_tls.yaml @@ -12,15 +12,30 @@ metrics: clients: default: - address: localhost:5432 + active-writes: + address: localhost:5432 + network: tcp + tcpKeepAlive: False + tcpKeepAlivePeriod: 30s + receiveChunkSize: 8192 + receiveDeadline: 0s + receiveTimeout: 0s + sendDeadline: 0s + dialTimeout: 60s + retries: 3 + backoff: 1s + backoffMultiplier: 2.0 + disableBackoffCaps: false pools: default: - size: 10 + active-writes: + size: 10 proxies: default: - healthCheckPeriod: 60s # duration + active-writes: + healthCheckPeriod: 60s # duration servers: default: