Skip to content

Commit

Permalink
Add ut test
Browse files Browse the repository at this point in the history
  • Loading branch information
qinguoyi committed Nov 10, 2024
1 parent 20fa0cc commit c56f680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/playground_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ var _ = ginkgo.Describe("playground e2e tests", func() {
})

ginkgo.It("Deploy a ollama model with ollama", func() {
backendRuntime := wrapper.MakeBackendRuntime("llmaz-llamacpp").
backendRuntime := wrapper.MakeBackendRuntime("ollama").
Image("alpine/ollama").Version("latest").
Command([]string{"sh", "-c"}).
Arg("default", []string{"ollama serve & while true;do output=$(ollama list 2>&1);if ! echo $output | grep -q 'could not connect to ollama app' && echo $output | grep -q 'NAME';then echo 'ollama is running';break; else echo 'Waiting for the ollama to be running...';sleep 1;fi;done;ollama run {{.ModelName}};while true;do sleep 60;done"}).
Expand Down

0 comments on commit c56f680

Please sign in to comment.