Skip to content

Commit

Permalink
WIP: add CreateArangodClient
Browse files Browse the repository at this point in the history
  • Loading branch information
ObiWahn committed Mar 23, 2018
1 parent c0b8b5c commit fe6fc41
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/deployments_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import (
driver "github.com/arangodb/go-driver"
api "github.com/arangodb/kube-arangodb/pkg/apis/deployment/v1alpha"
kubeArangoClient "github.com/arangodb/kube-arangodb/pkg/client"
arangod "github.com/arangodb/kube-arangodb/pkg/util/arangod"
)

// environements: provided from outside
Expand Down Expand Up @@ -131,6 +132,8 @@ func deploymentSubTest(t *testing.T, mode api.DeploymentMode, engine api.Storage

t.Logf("agents len: %v", len(agents))
for _, server := range servers {
//func CreateArangodClient(ctx context.Context, cli corev1.CoreV1Interface, apiObject *api.ArangoDeployment, group api.ServerGroup, id string) (driver.Client, error) {
db_client, err := arangod.CreateArangodClient(ctx, k8sClient, deployment, "", server)
t.Logf("Server: %v ", server)
}
t.Log("##################################")
Expand Down

0 comments on commit fe6fc41

Please sign in to comment.