File tree Expand file tree Collapse file tree 17 files changed +307
-24
lines changed
Expand file tree Collapse file tree 17 files changed +307
-24
lines changed Original file line number Diff line number Diff line change 88 externalAccess :
99 type : LoadBalancer
1010 mode : Cluster
11- storageClassName : acceptance
11+ agents :
12+ storageClassName : acceptance
13+ dbservers :
14+ storageClassName : acceptance
Original file line number Diff line number Diff line change 1010 mode : Cluster
1111 sync :
1212 enabled : true
13+ externalAccess :
14+ type : LoadBalancer
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ version="arangodb-preview:3.4.0-rc.3"
55enterprise_secret=" $ARANGO_EP_SECRET " # only the number
66community=" arangodb/$version "
77enterprise=" registry.arangodb.com/arangodb/$version -$enterprise_secret "
8+ community=" neunhoef/arangodb:3.4"
9+ enterprise=" neunhoef/arangodb:3.4"
810
911rm -fr generated
1012mkdir -p generated
Original file line number Diff line number Diff line change 1+ apiVersion : " storage.arangodb.com/v1alpha"
2+ kind : " ArangoLocalStorage"
3+ metadata :
4+ name : " acceptance-local-storage"
5+ spec :
6+ storageClass :
7+ name : acceptance
8+ localPath :
9+ - /var/lib/acceptance-test
Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ function output
4545 if which say > /dev/null
4646 say $argv [1] > /dev/null ^ /dev/null
4747 end
48+ echo
4849 for l in $argv [2..-1] ; echo $l ; end
4950end
5051
5556function inputAndLogResult
5657 read -P " Test result: " result
5758 log $result
59+ echo
5860end
5961
6062function waitForUser
@@ -81,9 +83,11 @@ function testArangoDB
8183 return 1
8284 end
8385 echo Waiting " $n ($timeout )" ...
86+ sleep 1
8487 end
8588end
8689
8790function fail
8891 output " Failed" $argv
92+ exit 1
8993end
Original file line number Diff line number Diff line change 33source helper.fish
44
55set -g TESTNAME test1a
6- set -g TESTDESC " Deployment of mode single"
6+ set -g TESTDESC " Deployment of mode single (development) "
77set -g YAMLFILE generated/single-community-dev.yaml
88set -g DEPLOYMENT acceptance-single
99printheader
@@ -12,12 +12,12 @@ printheader
1212kubectl apply -f $YAMLFILE
1313and waitForKubectl " get pod" " $DEPLOYMENT -sngl" " 1/1 *Running" 1 120
1414and waitForKubectl " get service" " $DEPLOYMENT *ClusterIP" 8529 1 120
15- and waitForKubectl " get service" " $DEPLOYMENT -ea *LoadBalancer" " -v;pending" 1 120
15+ and waitForKubectl " get service" " $DEPLOYMENT -ea *LoadBalancer" " -v;pending" 1 180
1616or fail " Deployment did not get ready."
1717
1818# Automatic check
1919set ip (getLoadBalancerIP " $DEPLOYMENT -ea" )
20- testArangoDB $ip 60
20+ testArangoDB $ip 120
2121or fail " ArangoDB was not reachable."
2222
2323# Manual check
Original file line number Diff line number Diff line change 33source helper.fish
44
55set -g TESTNAME test1b
6- set -g TESTDESC " Deployment of mode active/failover"
7- set -g YAMLFILE generated/activefailover-community-pro .yaml
6+ set -g TESTDESC " Deployment of mode active/failover (development) "
7+ set -g YAMLFILE generated/activefailover-community-dev .yaml
88set -g DEPLOYMENT acceptance-activefailover
99printheader
1010
@@ -14,12 +14,12 @@ and waitForKubectl "get pod" $DEPLOYMENT "1 *Running" 5 120
1414and waitForKubectl " get pod" " $DEPLOYMENT -sngl.*1/1 *Running" " " 1 120
1515and waitForKubectl " get pod" " $DEPLOYMENT -sngl.*0/1 *Running" " " 1 120
1616and waitForKubectl " get service" " $DEPLOYMENT *ClusterIP" 8529 1 120
17- and waitForKubectl " get service" " $DEPLOYMENT -ea *LoadBalancer" " -v;pending" 1 120
17+ and waitForKubectl " get service" " $DEPLOYMENT -ea *LoadBalancer" " -v;pending" 1 180
1818or fail " Deployment did not get ready."
1919
2020# Automatic check
2121set ip (getLoadBalancerIP " $DEPLOYMENT -ea" )
22- testArangoDB $ip 60
22+ testArangoDB $ip 120
2323or fail " ArangoDB was not reachable."
2424
2525# Manual check
Original file line number Diff line number Diff line change 33source helper.fish
44
55set -g TESTNAME test1c
6- set -g TESTDESC " Deployment of mode cluster (enterprise)"
6+ set -g TESTDESC " Deployment of mode cluster (development, enterprise)"
77set -g YAMLFILE generated/cluster-enterprise-dev.yaml
88set -g DEPLOYMENT acceptance-cluster
99printheader
@@ -14,12 +14,12 @@ and waitForKubectl "get pod" "$DEPLOYMENT-prmr" "1/1 *Running" 3 120
1414and waitForKubectl " get pod" " $DEPLOYMENT -agnt" " 1/1 *Running" 3 120
1515and waitForKubectl " get pod" " $DEPLOYMENT -crdn" " 1/1 *Running" 3 120
1616and waitForKubectl " get service" " $DEPLOYMENT *ClusterIP" 8529 1 120
17- and waitForKubectl " get service" " $DEPLOYMENT -ea *LoadBalancer" " -v;pending" 1 120
17+ and waitForKubectl " get service" " $DEPLOYMENT -ea *LoadBalancer" " -v;pending" 1 180
1818or fail " Deployment did not get ready."
1919
2020# Automatic check
2121set ip (getLoadBalancerIP " $DEPLOYMENT -ea" )
22- testArangoDB $ip 60
22+ testArangoDB $ip 120
2323or fail " ArangoDB was not reachable."
2424
2525# Manual check
Original file line number Diff line number Diff line change 33source helper.fish
44
55set -g TESTNAME test1d
6- set -g TESTDESC " Deployment of mode cluster with sync (enterprise)"
6+ set -g TESTDESC " Deployment of mode cluster with sync (development, enterprise)"
77set -g YAMLFILE generated/cluster-sync-enterprise-dev.yaml
88set -g DEPLOYMENT acceptance-cluster
99printheader
@@ -17,13 +17,13 @@ and waitForKubectl "get pod" "$DEPLOYMENT-crdn" "1/1 *Running" 3 120
1717and waitForKubectl " get pod" " $DEPLOYMENT -syma" " 1/1 *Running" 3 120
1818and waitForKubectl " get pod" " $DEPLOYMENT -sywo" " 1/1 *Running" 3 120
1919and waitForKubectl " get service" " $DEPLOYMENT *ClusterIP" 8529 1 120
20- and waitForKubectl " get service" " $DEPLOYMENT -ea *LoadBalancer" " -v;pending" 1 120
21- and waitForKubectl " get service" " $DEPLOYMENT -sync *LoadBalancer" " -v;pending" 1 120
20+ and waitForKubectl " get service" " $DEPLOYMENT -ea *LoadBalancer" " -v;pending" 1 180
21+ and waitForKubectl " get service" " $DEPLOYMENT -sync *LoadBalancer" " -v;pending" 1 180
2222or fail " Deployment did not get ready."
2323
2424# Automatic check
2525set ip (getLoadBalancerIP " $DEPLOYMENT -ea" )
26- testArangoDB $ip 60
26+ testArangoDB $ip 120
2727or fail " ArangoDB was not reachable."
2828
2929# Manual check
Original file line number Diff line number Diff line change @@ -14,12 +14,12 @@ and waitForKubectl "get pod" $DEPLOYMENT "1 *Running" 5 120
1414and waitForKubectl " get pod" " $DEPLOYMENT -sngl.*1/1 *Running" " " 1 120
1515and waitForKubectl " get pod" " $DEPLOYMENT -sngl.*0/1 *Running" " " 1 120
1616and waitForKubectl " get service" " $DEPLOYMENT *ClusterIP" 8529 1 120
17- and waitForKubectl " get service" " $DEPLOYMENT -ea *LoadBalancer" " -v;pending" 1 120
17+ and waitForKubectl " get service" " $DEPLOYMENT -ea *LoadBalancer" " -v;pending" 1 180
1818or fail " Deployment did not get ready."
1919
2020# Automatic check
2121set ip (getLoadBalancerIP " $DEPLOYMENT -ea" )
22- testArangoDB $ip 60
22+ testArangoDB $ip 120
2323or fail " ArangoDB was not reachable."
2424
2525# Scale up the deployment
You can’t perform that action at this time.
0 commit comments