mirror of
https://github.com/arangodb/kube-arangodb.git
synced 2024-12-14 11:57:37 +00:00
Minor
This commit is contained in:
parent
c874af44f7
commit
adc361675c
2 changed files with 6 additions and 0 deletions
|
@ -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)
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue