Skip to content

Commit fb88efd

Browse files
committed
Fix SWCK oapserverconfig e2e version mismatch causing pod restart timeout
The SWCK operator matches OAPServerConfig to OAPServer by spec.version. The OAPServer uses version "latest" but the oapserverconfig-demo.yaml has version "9.5.0", so the operator never applies the config and the OAP pod is never restarted, causing the test to timeout.
1 parent 2850db1 commit fb88efd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/e2e/swck/oap-ui-agent-oapserverconfig.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ setup:
9393
command: |
9494
oap_podname=$(kubectl get pod -lapp=oap -n skywalking-system -o jsonpath='{.items[*].metadata.name}')
9595
curl https://raw.githubusercontent.com/apache/skywalking-swck/v0.9.0/test/e2e/oapserverconfig-demo.yaml | \
96+
sed 's/version: 9.5.0/version: latest/' | \
9697
sed '/env:/a\ - name: SW_STORAGE\n value: banyandb\n - name: SW_STORAGE_BANYANDB_TARGETS\n value: banyandb-grpc.default:17912' | \
9798
kubectl apply -f -
9899
while kubectl get pod $oap_podname -n skywalking-system > /dev/null 2>&1; \

0 commit comments

Comments
 (0)