mirror of https://github.com/databricks/cli.git
This commit is contained in:
parent
6148681ed1
commit
533e7be51b
|
@ -1,18 +0,0 @@
|
||||||
package process
|
|
||||||
|
|
||||||
import (
|
|
||||||
"runtime"
|
|
||||||
"testing"
|
|
||||||
|
|
||||||
"github.com/stretchr/testify/assert"
|
|
||||||
)
|
|
||||||
|
|
||||||
func TestWaitForPidUnix(t *testing.T) {
|
|
||||||
if runtime.GOOS == "windows" {
|
|
||||||
t.Skip("Skipping test on windows")
|
|
||||||
}
|
|
||||||
|
|
||||||
// Out of bounds pid. Should return an error.
|
|
||||||
err := waitForPid(1000000)
|
|
||||||
assert.EqualError(t, err, "process with pid 1000000 does not exist")
|
|
||||||
}
|
|
Loading…
Reference in New Issue