Compare commits

..

1 Commits

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

View File

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