Skip to content

Commit 4934408

Browse files
committed
fix tests
Signed-off-by: Adem Baccara <[email protected]>
1 parent c83ae03 commit 4934408

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

workspaces/controller/internal/controller/workspacekind_controller_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,9 @@ var _ = Describe("WorkspaceKind Controller", func() {
128128
newWorkspaceKind = workspaceKind.DeepCopy()
129129
newWorkspaceKind.Spec.PodTemplate.Culling.ActivityProbe = kubefloworgv1beta1.ActivityProbe{
130130
Exec: &kubefloworgv1beta1.ActivityProbeExec{
131-
Command: []string{"bash", "-c", "exit 0"},
131+
OutputPath: "/path/to/output",
132+
TimeoutSeconds: 9,
133+
Script: "echo 'hello, world!'",
132134
},
133135
Jupyter: &kubefloworgv1beta1.ActivityProbeJupyter{
134136
LastActivity: true,

0 commit comments

Comments
 (0)