1
0
Fork 0
mirror of https://github.com/arangodb/kube-arangodb.git synced 2024-12-14 11:57:37 +00:00
This commit is contained in:
Ewout Prangsma 2018-08-30 08:23:13 +02:00
parent c874af44f7
commit adc361675c
No known key found for this signature in database
GPG key ID: 4DBAD380D93D0698
2 changed files with 6 additions and 0 deletions

View file

@ -147,4 +147,6 @@ func cmdLifecycleCopyRun(cmd *cobra.Command, args []string) {
if err := os.Chmod(targetPath, 0755); err != nil {
cliLog.Fatal().Err(err).Msg("Failed to chmod")
}
cliLog.Info().Msgf("Executable copied to %s", targetPath)
}

View file

@ -109,6 +109,10 @@ func TestResiliencePod(t *testing.T) {
if err := retry.Retry(op, time.Minute); err != nil {
t.Fatalf("Pod did not restart: %v", err)
}
// Wait for deployment to be ready
if _, err = waitUntilDeployment(c, depl.GetName(), ns, deploymentIsReady()); err != nil {
t.Fatalf("Deployment not running in time: %v", err)
}
// Wait for cluster to be completely ready
if err := waitUntilClusterHealth(client, func(h driver.ClusterHealth) error {
return clusterHealthEqualsSpec(h, apiObject.Spec)