Skip to content

Commit adc3616

Browse files
committed
Minor
1 parent c874af4 commit adc3616

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

lifecycle.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,4 +147,6 @@ func cmdLifecycleCopyRun(cmd *cobra.Command, args []string) {
147147
if err := os.Chmod(targetPath, 0755); err != nil {
148148
cliLog.Fatal().Err(err).Msg("Failed to chmod")
149149
}
150+
151+
cliLog.Info().Msgf("Executable copied to %s", targetPath)
150152
}

tests/resilience_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,10 @@ func TestResiliencePod(t *testing.T) {
109109
if err := retry.Retry(op, time.Minute); err != nil {
110110
t.Fatalf("Pod did not restart: %v", err)
111111
}
112+
// Wait for deployment to be ready
113+
if _, err = waitUntilDeployment(c, depl.GetName(), ns, deploymentIsReady()); err != nil {
114+
t.Fatalf("Deployment not running in time: %v", err)
115+
}
112116
// Wait for cluster to be completely ready
113117
if err := waitUntilClusterHealth(client, func(h driver.ClusterHealth) error {
114118
return clusterHealthEqualsSpec(h, apiObject.Spec)

0 commit comments

Comments
 (0)