Skip to content

Commit

Permalink
Merge pull request #84 from arangodb/bug-fix/fix-after-merge
Browse files Browse the repository at this point in the history
fixes required after merge
  • Loading branch information
ObiWahn authored Mar 28, 2018
2 parents e5905ba + 256c30a commit e8d594d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/immutable_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func TestImmutableFields(t *testing.T) {
client := mustNewArangodDatabaseClient(ctx, kubecli, apiObject, t)

// Wait for single server to be completely ready
if err := waitUntilVersionUp(client); err != nil {
if err := waitUntilVersionUp(client, nil); err != nil {
t.Fatalf("Single server not up in time: %v", err)
}

Expand Down
4 changes: 2 additions & 2 deletions tests/upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func upgradeSubTest(t *testing.T, mode api.DeploymentMode, engine api.StorageEng
}

// Wait for deployment to be ready
deployment, err = waitUntilDeployment(deploymentClient, deploymentTemplate.GetName(), k8sNameSpace, deploymentHasState(api.DeploymentStateRunning))
deployment, err = waitUntilDeployment(deploymentClient, deploymentTemplate.GetName(), k8sNameSpace, deploymentIsReady())
if err != nil {
t.Fatalf("Deployment not running in time: %v", err)
}
Expand All @@ -123,7 +123,7 @@ func upgradeSubTest(t *testing.T, mode api.DeploymentMode, engine api.StorageEng
t.Fatalf("Failed to upgrade the Image from version : " + fromVersion + " to version: " + toVersion)
}

deployment, err = waitUntilDeployment(deploymentClient, deploymentTemplate.GetName(), k8sNameSpace, deploymentHasState(api.DeploymentStateRunning))
deployment, err = waitUntilDeployment(deploymentClient, deploymentTemplate.GetName(), k8sNameSpace, deploymentIsReady())
if err != nil {
t.Fatalf("Deployment not running in time: %v", err)
}
Expand Down

0 comments on commit e8d594d

Please sign in to comment.