Skip to content

Commit

Permalink
Remove multi-node test for Kube Acceptance Test. (#8737)
Browse files Browse the repository at this point in the history
* Remove multi-node test for kube acceptance tests.

* Update seed spec.
  • Loading branch information
davinchia committed Dec 13, 2021
1 parent e791bb2 commit 38ddbd3
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 35 deletions.
2 changes: 1 addition & 1 deletion airbyte-bootloader/Dockerfile
Expand Up @@ -7,4 +7,4 @@ WORKDIR /app

ADD bin/${APPLICATION}-0.33.11-alpha.tar /app

ENTRYPOINT ["/bin/bash", "-c", "${APPLICATION}-0.33.3-alpha/bin/${APPLICATION}"]
ENTRYPOINT ["/bin/bash", "-c", "${APPLICATION}-0.33.11-alpha/bin/${APPLICATION}"]
Expand Up @@ -3508,7 +3508,7 @@
supportsNormalization: false
supportsDBT: false
supported_destination_sync_modes: []
- dockerImage: "airbyte/source-mailchimp:0.2.8"
- dockerImage: "airbyte/source-mailchimp:0.2.9"
spec:
documentationUrl: "https://docs.airbyte.io/integrations/sources/mailchimp"
connectionSpecification:
Expand Down
1 change: 0 additions & 1 deletion kube/overlays/dev-integration-test/kustomization.yaml
Expand Up @@ -29,5 +29,4 @@ secretGenerator:
env: .secrets

patchesStrategicMerge:
- pod-antiaffinity.yaml
- parallelize-worker.yaml
19 changes: 0 additions & 19 deletions kube/overlays/dev-integration-test/pod-antiaffinity.yaml

This file was deleted.

13 changes: 0 additions & 13 deletions tools/bin/acceptance_test_kube.sh
Expand Up @@ -25,19 +25,6 @@ echo "Waiting for server and scheduler to be ready..."
kubectl wait --for=condition=Available deployment/airbyte-server --timeout=300s || (kubectl describe pods && exit 1)
kubectl wait --for=condition=Available deployment/airbyte-scheduler --timeout=300s || (kubectl describe pods && exit 1)

echo "Checking if scheduler and server are being scheduled on separate nodes..."
if [ -n "$IS_MINIKUBE" ]; then
SCHEDULER_NODE=$(kubectl get pod -o=custom-columns=NAME:.metadata.name,NODE:.spec.nodeName | grep scheduler | awk '{print $2}')
SERVER_NODE=$(kubectl get pod -o=custom-columns=NAME:.metadata.name,NODE:.spec.nodeName | grep server | awk '{print $2}')

if [ "$SCHEDULER_NODE" = "$SERVER_NODE" ]; then
echo "Scheduler and server were scheduled on the same node! This should not be the case for testing!"
exit 1
else
echo "Scheduler and server were scheduled on different nodes."
fi
fi

echo "Listing nodes scheduled for pods..."
kubectl describe pods | grep "Name\|Node"

Expand Down

0 comments on commit 38ddbd3

Please sign in to comment.