Compare commits

..

1 Commits

Author SHA1 Message Date
6f60ffb8a2
WIP: feat: cancel git clone ops gracefully
Some checks failed
continuous-integration/drone/push Build is failing
See #528
2025-04-22 20:57:12 +02:00

View File

@ -6,7 +6,6 @@ import (
"path" "path"
"syscall" "syscall"
"testing" "testing"
"time"
"coopcloud.tech/abra/pkg/config" "coopcloud.tech/abra/pkg/config"
) )
@ -16,8 +15,6 @@ func TestCancelGitClone(t *testing.T) {
os.RemoveAll(dir) os.RemoveAll(dir)
go func() { go func() {
time.Sleep(1 * time.Second)
p, err := os.FindProcess(os.Getpid()) p, err := os.FindProcess(os.Getpid())
if err != nil { if err != nil {
t.Fatalf("unable to find current process: %s", err) t.Fatalf("unable to find current process: %s", err)