Compare commits
1 Commits
8a8034be86
...
6f60ffb8a2
Author | SHA1 | Date | |
---|---|---|---|
6f60ffb8a2 |
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user